why msync() is not quoted by MMAP_NEED_MSYNC?
Russ Allbery
rra at stanford.edu
Fri Jan 2 21:32:38 UTC 2004
Mark Hittinger <bugs at pu.net> writes:
> Could we have the 2arg vs 3arg msync issue here? We have a define
> called HAVE_MSYNC_3_ARG in there that I remember having problems with a
> long time ago. I notice that the spots that use msync() in addition to
> not checking MMAP_NEED_MSYNC don't check HAVE_MSYNC_3_ARG either.
That's 'cause the call is patched up automatically in portable/mmap.h so
that you don't have to think about it all the time and the ugly #ifdefs
aren't cluttering up the code. :)
--
Russ Allbery (rra at stanford.edu) <http://www.eyrie.org/~eagle/>
Please send questions to the list rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
More information about the inn-workers
mailing list