GNU bug report logs - #5238
23.1.50; gzip: stdout: Broken pipe

Previous Next

Package: emacs;

Reported by: jidanni <at> jidanni.org

Date: Thu, 17 Dec 2009 14:42:02 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


Message #26 received at 5238 <at> debbugs.gnu.org (full text, mbox):

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: Jan Djärv <jan.h.d <at> swipnet.se>
Cc: Juri Linkov <juri <at> jurta.org>, Chong Yidong <cyd <at> stupidchicken.com>,
	5238 <at> debbugs.gnu.org, jidanni <at> jidanni.org
Subject: Re: bug#5238: 23.1.50; gzip: stdout: Broken pipe
Date: Sat, 12 Feb 2011 18:18:43 +0100
Jan Djärv <jan.h.d <at> swipnet.se> writes:

> Gzip checks if SIGPIPE is ignored, and if it is not, installs a signal
> handler that prints "gzip: stdout: Broken pipe".

No it doesn't.  The error only happens because gzip gets EPIPE while
writing to stdout, which can only happen when SIGPIPE is ignored, which
in fact Emacs does.  It's the fault of libgtk.

> I don't know if ignoring SIGPIPE for subprocesses is the right thing
> for Emacs to do.

It isn't.

Andreas.

-- 
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




This bug report was last modified 14 years and 154 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.