diff options
Diffstat (limited to 'Python/pythonrun.c')
-rw-r--r-- | Python/pythonrun.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Python/pythonrun.c b/Python/pythonrun.c index f46b90e..14fe783 100644 --- a/Python/pythonrun.c +++ b/Python/pythonrun.c @@ -770,7 +770,7 @@ initstdio(void) #endif } else { - if (!(std = PyFile_FromFd(fd, "<stdin>", "r", -1, NULL, + if (!(std = PyFile_FromFd(fd, "<stdin>", "r", -1, NULL, NULL, "\n", 0))) { goto error; } @@ -790,7 +790,7 @@ initstdio(void) #endif } else { - if (!(std = PyFile_FromFd(fd, "<stdout>", "w", -1, NULL, + if (!(std = PyFile_FromFd(fd, "<stdout>", "w", -1, NULL, NULL, "\n", 0))) { goto error; } @@ -811,7 +811,7 @@ initstdio(void) #endif } else { - if (!(std = PyFile_FromFd(fd, "<stderr>", "w", -1, NULL, + if (!(std = PyFile_FromFd(fd, "<stderr>", "w", -1, NULL, NULL, "\n", 0))) { goto error; } |