ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/server/cfperl.xs
(Generate patch)

Comparing deliantra/server/server/cfperl.xs (file contents):
Revision 1.276 by root, Tue Apr 15 14:21:04 2008 UTC vs.
Revision 1.278 by root, Sun Apr 20 00:44:13 2008 UTC

1681 1681
1682#if _POSIX_MEMLOCK 1682#if _POSIX_MEMLOCK
1683 1683
1684int mlockall (int flags = MCL_CURRENT | MCL_FUTURE) 1684int mlockall (int flags = MCL_CURRENT | MCL_FUTURE)
1685 INIT: 1685 INIT:
1686#ifdef __linux
1686 mallopt (M_PERTURB, 0xaa); // bug-workaround for linux glibc+mlockall+calloc 1687 mallopt (M_PERTURB, 0xaa); // bug-workaround for linux glibc+mlockall+calloc
1688#endif
1687 1689
1688int munlockall () 1690int munlockall ()
1689 1691
1690#endif 1692#endif
1691 1693
1776 EXTEND (SP, NUM_COINS); 1778 EXTEND (SP, NUM_COINS);
1777 for (int i = 0; i < NUM_COINS; ++i) 1779 for (int i = 0; i < NUM_COINS; ++i)
1778 PUSHs (sv_2mortal (to_sv (archetype::find (coins [i])))); 1780 PUSHs (sv_2mortal (to_sv (archetype::find (coins [i]))));
1779 1781
1780bool 1782bool
1781load_resource_file (octet_string filename) 1783load_resource_file_ (octet_string filename)
1782 1784
1783MODULE = cf PACKAGE = cf::attachable 1785MODULE = cf PACKAGE = cf::attachable
1784 1786
1785int 1787int
1786valid (SV *obj) 1788valid (SV *obj)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines