From 901a6bf25b693537c59c4d1990c700e5c68db5e7 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Thu, 11 Jun 2020 08:38:52 +0300 Subject: Finish up patches from Michael Builov. --- msg.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'msg.c') 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 */ -- cgit v1.2.3