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

Re: svn_cmdline_printf and errors

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2004-05-16 23:35:12 CEST

On Sun, 2004-05-16 at 17:31, Peter N. Lundblad wrote:
> Why do we ignore SIGPIPE?

A Unix program which uses the network must ignore SIGPIPE or it will be
unreliable in the face of lost connections.

Even disregarding that, if you run "svn log file://blah | less" and quit
out of less, we need to close the database or we could leave it wedged.

We should not be ignoring printf errors, but SIGPIPE is not the answer.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun May 16 23:35:40 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.