diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2018-06-17 21:52:28 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2018-06-17 21:52:28 +0300 |
commit | edaf82c330629586b1158a3dec407d53084b02e3 (patch) | |
tree | 60774046dec03325ad6e14846c2e25edafe6ba2f /awk.h | |
parent | 63c5726f8c7bc3c0e6457840049d83d6a2f09995 (diff) | |
download | egawk-edaf82c330629586b1158a3dec407d53084b02e3.tar.gz egawk-edaf82c330629586b1158a3dec407d53084b02e3.tar.bz2 egawk-edaf82c330629586b1158a3dec407d53084b02e3.zip |
Fix a corner case with EPIPE to stdout/stderr.
Diffstat (limited to 'awk.h')
-rw-r--r-- | awk.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1574,7 +1574,7 @@ extern struct redirect *redirect_string(const char *redir_exp_str, int *errflg, int extfd, bool failure_fatal); extern NODE *do_close(int nargs); extern int flush_io(void); -extern int close_io(bool *stdio_problem); +extern int close_io(bool *stdio_problem, bool *got_EPIPE); typedef enum { CLOSE_ALL, CLOSE_TO, CLOSE_FROM } two_way_close_type; extern int close_rp(struct redirect *rp, two_way_close_type how); extern int devopen_simple(const char *name, const char *mode, bool try_real_open); |