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

Re: svn commit: r8204 - branches/1.0-stabilization

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2004-01-09 03:16:54 CET

On Thu, 2004-01-08 at 21:01, gstein@tigris.org wrote:
> + * Issue #1693
> + Improved signal handling for svnadmin, svnlook and svn
> + Justification: Avoids uncontrolled termination resulting in
> + wedged repositories. API change. Low risk.
> + Votes:
> + +1: bliss, rooneg, ghudson
> + -1: gstein
> + -- seems like a SIGPIPE should cause a graceful exit, rather
> + than to have it continue chewing CPU.

We ignore SIGPIPE in clients/cmdline/main.c as well. An actual output
error will result in an EPIPE, leading to an I/O error, leading to a
graceful exit.

Ignoring SIGPIPE is just something you do in order to write a robust
Unix program.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jan 9 03:17:27 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.