bug-gawk
[Top][All Lists]
Advanced

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

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


From: FERRIEUX Alexandre - IMT/OLN
Subject: Re: [bug-gawk] Behavior of fflush with SIGPIPE on stdout [PATCH]
Date: Sun, 26 Mar 2017 18:31:44 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20111113 Thunderbird/8.0

On 26/03/2017 18:26, Eli Zaretskii wrote:
>  Regardless,*any*  language is able to use "!=0" as a criterion instead of 
"==1"

That's not portability in my book, because I have no way of testing
for specific kinds of errors in platform-independent way.

Yes, and that preexists to our discussion (Windows and unix having different constants to 
say "I died from SIGPIPE").

However, giving the ability to distinguish among exit statuses on a given platform, does not hamper the ability to distinguish OK from non-OK portably.



reply via email to

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