Re: svn commit: rev 3701 - trunk/subversion/libsvn_subr
From: Justin Erenkrantz <jerenkrantz_at_apache.org>
Date: 2002-11-09 05:46:43 CET
--On Saturday, November 9, 2002 2:15 AM +0000 Philip Martin
> Subversion is doing so in several places. What does "other
Yes, the pool structure itself is valid. Other than that, you can't
> Yikes! "can't assume [they] have anything in them" You mean memory
No, but you don't know what cleanups have already been run. In this
> Well, passing the parent doesn't help if the memory is invalid (see
No, because the parent cleans the child up before it cleans itself
> I accept that attempting to add new cleanup handlers should fail,
You shouldn't allocate new memory from a pool which is being cleaned
I would strongly suggest switching pool_cleanup to passing the parent
If people have been writing pool cleanups and expecting an ordering
---------------------------------------------------------------------
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.