[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: arnold
Subject: Re: [bug-gawk] Behavior of fflush with SIGPIPE on stdout [PATCH]
Date: Fri, 24 Mar 2017 01:07:22 -0600
User-agent: Heirloom mailx 12.4 7/29/08

"Andrew J. Schorr" <address@hidden> wrote:

> On Thu, Mar 23, 2017 at 01:36:40PM -0600, address@hidden wrote:
> > I think this patch addresses all your issues.
> Perhaps, although flush_io calls is_non_fatal_redirect before there's
> an I/O error. I still dislike doing that lookup before anything bad happens.
> It's also not obvious to me whether calling update_ERRNO_int(errno) after
> flush_io returns is going to work. Is it possible that flush_io will make
> other calls after the failed call that could reset errno?
> Regards,
> Andy

OK, I've adjusted the code to address these things as well and
pushed out the changes.



reply via email to

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