Remove no-longer-needed fflushes of stderr

* src/gmalloc.c (mabort) [GC_MCHECK && !__GNU_LIBRARY__]:
* src/term.c (vfatal): Remove fflush (stderr) when it is now a
no-op because newline automatically flushes stderr.
This commit is contained in:
Paul Eggert 2019-06-20 00:35:41 -07:00
parent 2079e40a3c
commit 2dbe05d01a
2 changed files with 0 additions and 2 deletions

View file

@ -2013,7 +2013,6 @@ mabort (enum mcheck_status status)
__libc_fatal (msg);
#else
fprintf (stderr, "mcheck: %s\n", msg);
fflush (stderr);
emacs_abort ();
#endif
}

View file

@ -4402,7 +4402,6 @@ vfatal (const char *str, va_list ap)
vfprintf (stderr, str, ap);
if (!(strlen (str) > 0 && str[strlen (str) - 1] == '\n'))
fprintf (stderr, "\n");
fflush (stderr);
exit (1);
}