aboutsummaryrefslogtreecommitdiffstats
path: root/msg.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2018-02-10 22:07:58 +0200
committerArnold D. Robbins <arnold@skeeve.com>2018-02-10 22:07:58 +0200
commitebfda3714dadb6dab80e83fdfa2156999d054728 (patch)
treee494c2c407b10af0c5302c839cdef72d8a041fdf /msg.c
parent96685ed2909ec198bf28ba81ccff755ea88ecda7 (diff)
parente988fbb61b477a61114e83bf988f10b397e641fb (diff)
downloadegawk-ebfda3714dadb6dab80e83fdfa2156999d054728.tar.gz
egawk-ebfda3714dadb6dab80e83fdfa2156999d054728.tar.bz2
egawk-ebfda3714dadb6dab80e83fdfa2156999d054728.zip
Merge branch 'master' into feature/fix-comments
Diffstat (limited to 'msg.c')
-rw-r--r--msg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/msg.c b/msg.c
index b4746988..20732bcd 100644
--- a/msg.c
+++ b/msg.c
@@ -101,6 +101,8 @@ err(bool isfatal, const char *s, const char *emsg, va_list argp)
if (isfatal) {
#ifdef GAWKDEBUG
+ // GLIBC 2.27 doesn't necessarily flush on abort. Sigh.
+ fflush(NULL);
abort();
#endif
gawk_exit(EXIT_FATAL);