apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Erenkrantz <jerenkra...@apache.org>
Subject Re: cvs commit: apr configure.in CHANGES
Date Wed, 01 May 2002 18:57:24 GMT
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

Mime
View raw message