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

Re: Flushing estoud before exit?

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2004-05-23 06:20:51 CEST

On Sat, 2004-05-22 at 19:54, Nicolás Lichtmaier wrote:
> There's absolutelly no need to flush a c stream before exiting a
> program, as the language defines that streams are flushing when a
> program ends by normal means.

The point isn't to make sure the output is flushed, but to make sure we
report errors if, for some reason, the output cannot be flushed. For
example, "svn log > filename" should report a disk-full error if we run
out of space writing the log output.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun May 23 06:21:19 2004

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.