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

Re: Just to be sure: file closing on pool cleanup?

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2003-11-28 00:51:20 CET

On Thu, 2003-11-27 at 12:49, Branko ╚ibej wrote:
> Pool cleanup will close the file, but we should call apr_file_close
> anyway, because we don't want open file handles hanging around until
> somebody happens to clear the pool.

Can you explain why an open file or two hanging around until pool
cleanup is enough of a travesty as to warrant complicating the cleanup
path, whereas a chain of subpools containing who knows how much
allocated memory is fine?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Nov 28 00:52:15 2003

This is an archived mail posted to the Subversion Dev mailing list.