|
From: | Aharon Robbins |
Subject: | Re: [bug-gawk] make check: 2 TESTS FAILED |
Date: | Wed, 23 Oct 2013 05:58:03 +0300 |
User-agent: | Heirloom mailx 12.5 6/20/10 |
Hi Andy. > Regarding the changes to io.c:flush_io: > > .... > > It looks as if this suppresses the warning message and changes the return > status from -1 to 0. Just checking -- did you intend to change the return > status as well as skipping the warning message? That is an interesting point. $ /usr/local/bin2/gawk ' BEGIN { print "hi" }' | exit 0 ; echo ${PIPESTATUS[*]} 141 0 $ ./gawk ' BEGIN { print "hi" }' | exit 0 ; echo ${PIPESTATUS[*]} 0 0 The 141 is something like 128 + the signal number (SIGPIPE). I should probably change things to exit non-zero. Thanks, Arnold
[Prev in Thread] | Current Thread | [Next in Thread] |