[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: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2004-01-09 03:24:09 CET

On Jan 8, 2004, at 9:16 PM, Greg Hudson wrote:

> 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.

I've also always handled SIGPIPE by ignoring it.

-garrett

---------------------------------------------------------------------
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:24:41 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.