[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#5238: 23.1.50; gzip: stdout: Broken pipe
From: |
Andreas Schwab |
Subject: |
bug#5238: 23.1.50; gzip: stdout: Broken pipe |
Date: |
Sat, 12 Feb 2011 18:18:43 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2.93 (gnu/linux) |
Jan Djärv <jan.h.d@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@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."