httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Stein <gst...@lyra.org>
Subject Re: cvs commit: apache-2.0/src/modules/standard mod_auth_digest.c
Date Thu, 01 Jun 2000 21:13:53 GMT
On Thu, 1 Jun 2000 rbb@covalent.net wrote:
> 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.

Heh. Then I'm confused :-)

I'd say that APR should stub the things, much like it stubs the XLATE
stuff.

Well... whatever. :-)  Basic point is that the stubs for ap_shm_* in
mod_auth_digest are ugly and a different solution ought to be found.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/


Mime
View raw message