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. Cheers, -g -- Greg Stein, http://www.lyra.org/