another update to ovdb_server.c

Russ Allbery rra at stanford.edu
Mon Nov 27 04:55:18 UTC 2000


Heath Kehoe <heath.kehoe at intermec.com> writes:

>> MAP_ANONYMOUS is not known to FreeBSD, so I had to change it to
>> MAP_ANON which I'm guessing is the same thing.  One could perhaps do,
>> for portability, something like BerkeleyDB does, where it defines those
>> MAP_ flags that are defined that it wants.

> More #ifdef/#define type stuff will be added.

It's been on my list of things to do for a while to add a
"portable/mmap.h" header to try to reduce the amount of #ifdef mess around
a lot of our mmap invocations.  Stuff like defining madvise to do nothing
if it doesn't exist on the system.

-- 
Russ Allbery (rra at stanford.edu)             <http://www.eyrie.org/~eagle/>



More information about the inn-workers mailing list