httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@covalent.net
Subject Re: cvs commit: apache-2.0/src/modules/standard mod_auth_digest.c
Date Thu, 01 Jun 2000 21:10:18 GMT
On Thu, 1 Jun 2000, Greg Stein wrote:

> I'm with Ryan on this. The ap_shm_*() functions should be implemented on
> all platforms, in all configurations.
> 
> APR_HAS_SHARED_MEMORY is available at compile-time to let you know that
> ap_shm_init() is going to return APR_ENOTIMPL. Of course, you can also do
> a runtime test.

Ummmm.... no.  If APR_HAS_SHARED_MEMORY is not defined, ap_shm_init is not
declared and the linker will die.  There is no way to return APR_ENOTIMPL
from the shared memory routines if the platform doesn't implement shared
memory.  This was a group decision made about a year ago.

Ryan

_______________________________________________________________________________
Ryan Bloom                        	rbb@apache.org
406 29th St.
San Francisco, CA 94131
-------------------------------------------------------------------------------


Mime
View raw message