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.
This commit is contained in:
parent
655439b71e
commit
d29a9dae71
1 changed files with 1 additions and 1 deletions
|
@ -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 ();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue