[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: CVS update: subversion/subversion/libsvn_fs dir.c

From: Greg Stein <gstein_at_lyra.org>
Date: 2000-10-15 03:54:33 CEST

On Sat, Oct 14, 2000 at 06:52:07PM -0700, Greg Stein wrote:
> On Sat, Oct 14, 2000 at 04:46:58PM -0000, jimb@tigris.org wrote:
> > User: jimb
> > Date: 00/10/14 09:46:58
> >
> > Modified: subversion/libsvn_fs dir.c
> > Log:
> > libsvn_fs/dir.c (svn_fs_open_node): Be sure to close any nodes we've
> > opened in the process of descending the tree, even when we return an
> > error.
>
> Every time a node is opened, it *is* automatically registered with a pool,
> right? (to ensure that it gets cleaned up no matter what)

Oh... it *is* fine to close when you know they need to be (rather than
waiting for the pool, which could be a long time). I'm just asking whether
there is a "failsafe" mechanism in there, too.

thx,
-g

-- 
Greg Stein, http://www.lyra.org/
Received on Sat Oct 21 14:36:11 2006

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.