aboutsummaryrefslogtreecommitdiffstats
path: root/msg.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2020-06-11 08:38:52 +0300
committerArnold D. Robbins <arnold@skeeve.com>2020-06-11 08:38:52 +0300
commit901a6bf25b693537c59c4d1990c700e5c68db5e7 (patch)
treec7fc79d52b7efc545ce4d6044e86cfc2987892d5 /msg.c
parent9cfec0497fb83a69bd77b0d2c940fe70b76c23da (diff)
downloadegawk-901a6bf25b693537c59c4d1990c700e5c68db5e7.tar.gz
egawk-901a6bf25b693537c59c4d1990c700e5c68db5e7.tar.bz2
egawk-901a6bf25b693537c59c4d1990c700e5c68db5e7.zip
Finish up patches from Michael Builov.
Diffstat (limited to 'msg.c')
-rw-r--r--msg.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/msg.c b/msg.c
index 53df2c0a..0dc3f718 100644
--- a/msg.c
+++ b/msg.c
@@ -106,14 +106,9 @@ err(bool isfatal, const char *s, const char *emsg, va_list argp)
(void) fprintf(stderr, "\n");
(void) fflush(stderr);
- if (isfatal) {
-#ifdef GAWKDEBUG
- // GLIBC 2.27 doesn't necessarily flush on abort. Sigh.
- fflush(NULL);
- abort();
-#endif
+ if (isfatal)
gawk_exit(EXIT_FATAL);
- }
+
}
/* msg --- take a varargs error message and print it */