summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Python/frozenmain.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/frozenmain.c b/Python/frozenmain.c
index 755033c..10fba54 100644
--- a/Python/frozenmain.c
+++ b/Python/frozenmain.c
@@ -51,6 +51,7 @@ Py_FrozenMain(argc, argv)
unbuffered = 1;
if (unbuffered) {
+ setbuf(stdin, (char *)NULL);
setbuf(stdout, (char *)NULL);
setbuf(stderr, (char *)NULL);
}