diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2018-02-10 19:53:27 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2018-02-10 19:53:27 +0200 |
commit | 8c0f1dcdd4a05a002ae01f586bc0b5386db903d4 (patch) | |
tree | 675a1989e78731be2ed770ee886480ec0a346c9a /msg.c | |
parent | 29141665ddc8055d197652e59a512147f1dcf574 (diff) | |
download | egawk-8c0f1dcdd4a05a002ae01f586bc0b5386db903d4.tar.gz egawk-8c0f1dcdd4a05a002ae01f586bc0b5386db903d4.tar.bz2 egawk-8c0f1dcdd4a05a002ae01f586bc0b5386db903d4.zip |
Do fflush(NULL) before abort(), for GLIBC 2.27.
Diffstat (limited to 'msg.c')
-rw-r--r-- | msg.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); |