summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
Diffstat (limited to 'win32')
-rw-r--r--win32/win32.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/win32/win32.c b/win32/win32.c
index 090cf20d0b..663136619f 100644
--- a/win32/win32.c
+++ b/win32/win32.c
@@ -1754,6 +1754,7 @@ init_stdhandle(void)
stderr->_file = open_null(2);
}
if (nullfd >= 0 && !keep) close(nullfd);
+ setvbuf(stderr, NULL, _IONBF, 0);
}
#else