aboutsummaryrefslogtreecommitdiffstats
path: root/msg.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2018-02-10 22:05:40 +0200
committerArnold D. Robbins <arnold@skeeve.com>2018-02-10 22:05:40 +0200
commitade2a277da426c00af426871ba778f41c3c671be (patch)
treec0892179d20603e986096c310d8068c38233138b /msg.c
parenta7512f3eb03ae2b6361e56518a2f405e386315a0 (diff)
parentc456bfb67cdfd71b869d059ce50335ef80c2c271 (diff)
downloadegawk-ade2a277da426c00af426871ba778f41c3c671be.tar.gz
egawk-ade2a277da426c00af426871ba778f41c3c671be.tar.bz2
egawk-ade2a277da426c00af426871ba778f41c3c671be.zip
Merge branch 'gawk-4.2-stable'
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);