[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 Stein <gstein_at_lyra.org>
Date: 2004-01-09 19:35:53 CET

On Thu, Jan 08, 2004 at 09:16:54PM -0500, 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.

Ah. Gotcha. Ignore the signal so that you can "get to" the error, which
you can then handle gracefully.

Thanks. Makes a lot of sense.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jan 9 19:41:58 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.