aboutsummaryrefslogtreecommitdiffstats
path: root/debug.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2018-06-17 21:53:04 +0300
committerArnold D. Robbins <arnold@skeeve.com>2018-06-17 21:53:04 +0300
commit7f57d12c835729207aea12e22021efce1705e6a0 (patch)
treed218d51151c96bd671dd6797462ff9fa6d1ea362 /debug.c
parent1e80e4d9f9bb3df825fe93e807f4045e1d07eac8 (diff)
parentedaf82c330629586b1158a3dec407d53084b02e3 (diff)
downloadegawk-7f57d12c835729207aea12e22021efce1705e6a0.tar.gz
egawk-7f57d12c835729207aea12e22021efce1705e6a0.tar.bz2
egawk-7f57d12c835729207aea12e22021efce1705e6a0.zip
Merge branch 'gawk-4.2-stable'
Diffstat (limited to 'debug.c')
-rw-r--r--debug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/debug.c b/debug.c
index ed763e38..2e68cde7 100644
--- a/debug.c
+++ b/debug.c
@@ -5405,11 +5405,11 @@ save_options(const char *file)
static void
close_all()
{
- bool stdio_problem;
+ bool stdio_problem, got_EPIPE;
struct command_source *cs;
(void) nextfile(& curfile, true); /* close input data file */
- (void) close_io(& stdio_problem);
+ (void) close_io(& stdio_problem, & got_EPIPE);
if (cur_srcfile->fd != INVALID_HANDLE) {
close(cur_srcfile->fd);
cur_srcfile->fd = INVALID_HANDLE;