On Tue, 2 Jan 2001, Greg Stein wrote:

> On Wed, Jan 03, 2001 at 12:53:07AM -0000, [EMAIL PROTECTED] wrote:
> > rbb         01/01/02 16:53:07
> > 
> >   Modified:    lib      apr_pools.c
> >   Log:
> >   We should not be assigning permanent_pool inside of make_sub_pool.  This
> >   runs the risk of overwriting permanent_pool, which would be VERY bad.  By
> >   moving this back to apr_init_alloc, we know that it should only be called
> >   by apr_initialize.  This does mean that we can NEVER call apr_initialize
> >   twice in the same program, but that should already be taken care of.
> 
> apr_initialize() has a counter to prevent double-initializations from
> happening. This is quite a safe change.

That's what I meant by "but that should already be taken care of."  I
guess the previous statement should have been we can't "execute the meat
of apr_initialize twice in the same program".  Oh well, clarity and I have
never been good friends.  :-)

Ryan

_______________________________________________________________________________
Ryan Bloom                              [EMAIL PROTECTED]
406 29th St.
San Francisco, CA 94131
-------------------------------------------------------------------------------

Reply via email to