From: Philipp Stephani Date: Mon, 12 Jun 2017 14:39:15 +0000 (+0200) Subject: Flush all output streams before aborting X-Git-Tag: emacs-26.0.90~521^2~109 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d29a9dae71395fccd419973e9c88f97af744581f;p=emacs.git Flush all output streams before aborting Maybe the stdout buffer still contains something interesting that should be flushed. * src/emacs-module.c (module_abort): Flush all output streams before aborting. --- diff --git a/src/emacs-module.c b/src/emacs-module.c index 650065d74b9..6af9474025d 100644 --- a/src/emacs-module.c +++ b/src/emacs-module.c @@ -1187,7 +1187,7 @@ module_abort (const char *format, ...) vfprintf (stderr, format, args); va_end (args); putc ('\n', stderr); - fflush (stderr); + fflush (NULL); emacs_abort (); }