mirror of
https://github.com/ascii-boxes/boxes.git
synced 2025-06-21 18:21:23 +02:00
Flush stderr after parsing
This helps test cases find consistent output on all platforms
This commit is contained in:
parent
157f4a136b
commit
08cf6a5396
@ -24,6 +24,7 @@
|
||||
|
||||
#include "config.h"
|
||||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <strings.h>
|
||||
@ -305,6 +306,8 @@ design_t *parse_config_files(const char *p_first_config_file, size_t *r_num_desi
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
||||
fflush(stderr); /* ensure order of error msgs and normal output for test cases */
|
||||
return result;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user