Commit d29a9dae authored by Philipp Stephani's avatar Philipp Stephani
Browse files

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.
parent 655439b7
......@@ -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 ();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment