diff --git a/src/backends/windows/system.c b/src/backends/windows/system.c old mode 100644 new mode 100755 index 07a60391..96c9c720 --- a/src/backends/windows/system.c +++ b/src/backends/windows/system.c @@ -717,6 +717,9 @@ Sys_RedirectStdout(void) _wfreopen(wpath_stdout, L"w", stdout); _wfreopen(wpath_stderr, L"w", stderr); + + setvbuf(stdout, (char *)NULL, _IOLBF, BUFSIZ); + setvbuf(stderr, (char *)NULL, _IOLBF, BUFSIZ); } /* ======================================================================= */