After apr_terminate() when calling any function, the behaviour is undefined. This is as expected. I don't see a need to protect against that.
Sander On 12/11/07, Mladen Turk <[EMAIL PROTECTED]> wrote: > Hi, > > I'd like to make sure the apr_pool_create(_ex) > returns error in case apr was terminated, meaning > apr_pool_terminate() was called and apr_pools_initialized is 0. > > Seems we are missing that check in apr_pool_create_ex, > and I think APR_ENOMEM is correct error code we could > return in that case (or perhaps APR_EINVAL) > > Comments? > > Regards, > Mladen > >
