aboutsummaryrefslogtreecommitdiffstats
path: root/debug.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2018-06-17 21:53:31 +0300
committerArnold D. Robbins <arnold@skeeve.com>2018-06-17 21:53:31 +0300
commitf59bc1d895b5cc3d0dfad1ced3fc998ba5f7e976 (patch)
treeb25948242fc9b7a7188280b2fa883b19a5354324 /debug.c
parent11d1cd05ef84f8dedf79020128ffcb8a9764f3b8 (diff)
parent7f57d12c835729207aea12e22021efce1705e6a0 (diff)
downloadegawk-f59bc1d895b5cc3d0dfad1ced3fc998ba5f7e976.tar.gz
egawk-f59bc1d895b5cc3d0dfad1ced3fc998ba5f7e976.tar.bz2
egawk-f59bc1d895b5cc3d0dfad1ced3fc998ba5f7e976.zip
Merge branch 'master' into feature/fix-comments
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;