[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#64540: [PATCH] od: exit out on failure to write to stdout
|
From: |
Andreas Schwab |
|
Subject: |
bug#64540: [PATCH] od: exit out on failure to write to stdout |
|
Date: |
Sun, 09 Jul 2023 12:14:37 +0200 |
|
User-agent: |
Gnus/5.13 (Gnus v5.13) |
On Jul 09 2023, Paul Eggert wrote:
> Do you see the same problem if you use 'cat' rather than 'od'? If so, the
> problem isn't with 'od'; it's with the environment, which is somehow set
> up to ignore SIGPIPE. It shouldn't do that, as ignoring SIGPIPE breaks a
> lot of programs, and 'od' would be just one of them.
All other utilities (including cat) handle ignored SIGPIPE correctly.
$ (trap '' PIPE; cat /dev/zero | :)
cat: write error: Broken pipe
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
- bug#64540: [PATCH] od: exit out on failure to write to stdout, Josef Bacik, 2023/07/09
- bug#64540: [PATCH] od: exit out on failure to write to stdout, Paul Eggert, 2023/07/09
- bug#64540: [PATCH] od: exit out on failure to write to stdout,
Andreas Schwab <=
- bug#64540: [PATCH] od: exit out on failure to write to stdout, Pádraig Brady, 2023/07/09
- bug#64540: [PATCH] od: exit out on failure to write to stdout, Paul Eggert, 2023/07/09
- bug#64540: [PATCH] od: exit out on failure to write to stdout, Pádraig Brady, 2023/07/09
- bug#64540: [PATCH] od: exit out on failure to write to stdout, Pádraig Brady, 2023/07/15
- bug#64540: [PATCH] od: exit out on failure to write to stdout, Bernhard Voelker, 2023/07/17
- bug#64540: [PATCH] od: exit out on failure to write to stdout, Pádraig Brady, 2023/07/17
- bug#64540: [PATCH] od: exit out on failure to write to stdout, Paul Eggert, 2023/07/17
- bug#64540: [PATCH] od: exit out on failure to write to stdout, Pádraig Brady, 2023/07/17
- bug#64540: [PATCH] od: exit out on failure to write to stdout, Paul Eggert, 2023/07/17