[Top][All Lists]

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

Re: [bug-gawk] Behavior of fflush with SIGPIPE on stdout [PATCH]

From: Andrew J. Schorr
Subject: Re: [bug-gawk] Behavior of fflush with SIGPIPE on stdout [PATCH]
Date: Sat, 25 Mar 2017 15:21:22 -0400
User-agent: Mutt/1.5.21 (2010-09-15)

On Sat, Mar 25, 2017 at 08:16:08PM +0100, FERRIEUX Alexandre - IMT/OLN wrote:
> OK, so, on behalf of the worst behavior (of a few non-posix oddball
> OSes), you'd rather sacrifice the unix instance of ... awk ? All of
> this for a "hard to maintain" 3-liner
> # define SIGPIPE_EXIT_CODE   1 /* my OS is too dumb to tolerate more than one 
> bit here *:
> Seriously...

No need to get snippy. We are discussing the best way to resolve this issue.
You obviously feel very strongly that the fate of humanity depends on the 141
exit code from a broken pipe. I personally never check the exit code other than
for success (zero) vs failure (non-zero).

reply via email to

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