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

Just to be sure: file closing on pool cleanup?

From: Erik Huelsmann <e.huelsmann_at_gmx.net>
Date: 2003-11-27 00:29:32 CET

Just to be sure that I am doing the right thing:

because of the change I am doing from apr_file_write_full to
svn_io_file_write_full the latter of which can be wrapped in SVN_ERR, I am wondering if I
can throw out the apr_file_close on an error from apr_file_write_full. Greg
Hudson said over IRC that pool cleanup should take care of clearing files. Can I
indeed count on that, thus wrapping svn_io_file_write_full in SVN_ERR, or
should I catch the error, close the file and then throw the error up the call
chain?

bye,

Erik.

-- 
NEU FÜR ALLE - GMX MediaCenter - für Fotos, Musik, Dateien...
Fotoalbum, File Sharing, MMS, Multimedia-Gruß, GMX FotoService
Jetzt kostenlos anmelden unter http://www.gmx.net
+++ GMX - die erste Adresse für Mail, Message, More! +++
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Nov 27 00:30:10 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.