Actions
Bug #488
closedmadvise() is useless on Panther
Status:
Fixed
Priority:
Normal
Category:
core
Target version:
-
ASK QUESTIONS IN Forums:
Description
Calling madvise() with MADV_WILLNEED is useless on Mac OS X Panther, you'll always get an EINVAL.
From http://dovecot.darwinports.com/ :
# madvise fails on darwin 7 and earlier, but is fixed on darwin 8 if { ${os.platform} == "darwin" && [rpm-vercomp ${os.version} 8.0] < 0 } { reinplace "s|#define HAVE_MADVISE 1|/* #undef HAVE_MADVISE */|" ${worksrcpath}/config.h } }
-- iclaymore
Updated by jan about 19 years ago
- Status changed from New to Fixed
- Resolution set to fixed
fixed in r959
Actions
Also available in: Atom