1
0
mirror of https://github.com/prirun/p50em.git synced 2026-01-13 15:17:32 +00:00

Make sure stderr is still unbuffered after the reopen. This is

likely unnecessary, but belt.  Suspenders.
This commit is contained in:
Dennis Boone 2020-04-12 12:56:24 -04:00
parent 527611669b
commit 087fd30e83

1
em.c
View File

@ -4410,6 +4410,7 @@ int main (int argc, char **argv) {
printf("Open returned %d redirecting stderr\n", templ);
exit(1);
}
setvbuf(stderr, NULL, _IONBF, 0);
/* initialize global variables */