aboutsummaryrefslogtreecommitdiffstats
path: root/msg.c
diff options
context:
space:
mode:
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 */