mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-05 22:38:44 +00:00
fflush stdout before failure in vfailure
This commit is contained in:
parent
97d881959e
commit
d23a0fcf61
1 changed files with 1 additions and 0 deletions
|
|
@ -127,6 +127,7 @@ void pop_extra_root (void ** p) {
|
|||
/* end */
|
||||
|
||||
static void vfailure (char *s, va_list args) {
|
||||
fflush (stdout);
|
||||
fprintf (stderr, "*** FAILURE: ");
|
||||
vfprintf (stderr, s, args); // vprintf (char *, va_list) <-> printf (char *, ...)
|
||||
exit (255);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue