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

Re: Fix Win32 file handle leak in translate-test.exe?

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2003-12-17 23:07:06 CET

On Wed, 2003-12-17 at 15:32, kfogel@collab.net wrote:
> Greg Hudson <ghudson@MIT.EDU> writes:
> > Can you better explain how translate-test was failing? Were we running
> > the translate command in a loop without cleaning a pool?
> >
> > I continue to believe that it's appropriate to rely on pool cleanups for
>
> Did you mean "inappropriate"?

No, I spoke correctly.

Though perhaps unclearly: by "it's a bug either way," I mean if you are
running an unbounded loop without pool cleanups, you have a bug. If you
notice this bug because a file handle doesn't get cleaned up, then
that's your fault, not the fault of the function which left a file
handle to be closed by pool cleanup.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Dec 17 23:08:07 2003

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.