summaryrefslogtreecommitdiffstats
path: root/Python/frozenmain.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/frozenmain.c')
-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);
}