|
From: | arnold |
Subject: | Re: [bug-gawk] Behavior of fflush with SIGPIPE on stdout [PATCH] |
Date: | Tue, 28 Mar 2017 20:31:31 -0600 |
User-agent: | Heirloom mailx 12.4 7/29/08 |
Eli Zaretskii <address@hidden> wrote: > Yep, just like I thought: > > D:\usr\eli>yes | d:\gnu\gawk-4.1.61\gawk "{ print; fflush(stdout) }" | head > y > ... > y > gawk: cmd. line:1: (FILENAME=- FNR=264) fatal: fflush: cannot flush > standard output: Invalid argument > yes: standard output: Invalid argument > yes: write error > > Which is hardly what we want. > > This "needs work"???. I suspect that if you change the die_with_sigpipe macro to DTRT on MinGW that will be all you have to do. Arnold
[Prev in Thread] | Current Thread | [Next in Thread] |