httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Orton <...@light.plus.com>
Subject Re: SDBM 2.0 'namespace protection'
Date Thu, 30 Nov 2000 22:43:22 GMT
On Wed, Nov 29, 2000 at 03:16:57PM -0800, Ryan Bloom wrote:
> Pools just aren't the correct solution.  Why do you want pools?  You say
> it's to make sure we clean everything up, but that can be done in the
> sdbm_close function, which can be called from a cleanup that is registered
> in a wrapper function.  Taking a look at where we are using pools in sdbm,
> it is just for sdbm_prep, which is only called by sdbm_open.  There is
> nothing to cleanup (no cleanups are registered), we only ever allocate a
> single structure out of this pool.

What about the two calls to apr_open?

joe

Mime
View raw message