Project

General

Profile

Actions

Bug #488

closed

madvise() is useless on Panther

Added by Anonymous about 19 years ago. Updated over 18 years ago.

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

Actions #1

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