On Wed, May 01, 2002 at 11:01:47AM -0700, Aaron Bannert wrote: > Sorry for the late reply. Do we have a HAVE_DEV_ZERO-like define > somewhere, and if so would this mean that an OS that had /dev/zero but > didn't support mmap(/dev/zero) would not have that defined anymore? Other > than that I think this is a good way to test for mmap(/dev/zero).
We don't have a HAVE_DEV_ZERO macro. We only seem to use knowledge of /dev/zero in configure to determine if we can do pthread mutexes. Then, in the pthread code we assume that we have /dev/zero. I think shm also uses /dev/zero in a similar fashion. -- justin
