bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

"echo: write error: Broken pipe" even when DONT_REPORT_SIGPIPE set


From: Tim Waugh
Subject: "echo: write error: Broken pipe" even when DONT_REPORT_SIGPIPE set
Date: Mon, 9 Jan 2006 15:51:45 +0000
User-agent: Mutt/1.4.2.1i

Comparing bash-3.0 (with config-top.h modified so that
DONT_REPORT_SIGPIPE is defined) with bash-3.1 (where this is the
default anyway) shows up a change in behaviour.

bash-3.0:

$ bash -c 'trap exit SIGPIPE; echo foo' | :
$ 

bash-3.1:

$ bash -c 'trap exit SIGPIPE; echo foo' | :
bash: line 0: echo: write error: Broken pipe
$ 

Is this change in behaviour intentional, or a regression?

Original bug report:
  https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=177242

Thanks,
Tim.
*/

Attachment: pgpAKemWtTF7f.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]