[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: FERRIEUX Alexandre - IMT/OLN
Subject: Re: [bug-gawk] Behavior of fflush with SIGPIPE on stdout [PATCH]
Date: Sun, 26 Mar 2017 17:43:01 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20111113 Thunderbird/8.0

On 26/03/2017 17:32, Andrew J. Schorr wrote:
So we have documented exit status behavior, and now we're going to add
an exception for EPIPE?

Depends on whether the documented behavior predates the drop of default 


- if this statement has been present in the documentation for ages, including when SIGPIPE got the default behavior, then signals are out of the picture, and it makes sense to emulate libc's default handlers.

        - if this statement was born in the redefine-handlers era, then indeed 
it encompasses signals and should be respected.

reply via email to

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