summaryrefslogtreecommitdiff
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2010-06-08 20:46:00 +0000
committerVictor Stinner <victor.stinner@haypocalc.com>2010-06-08 20:46:00 +0000
commitea1eb94ef3c07f1a17798ab62b20d374266920a7 (patch)
tree9fd1a07ceee64be8636b5f8005bea6d27feb3ea6 /Python/pythonrun.c
parent9120b64e0d8d3d0a8183e08e014998ba4770841c (diff)
downloadcpython-ea1eb94ef3c07f1a17798ab62b20d374266920a7.tar.gz
sys_pyfile_write() does nothing if file is NULL
mywrite() falls back to the C file object if sys_pyfile_write() returns an error. This patch fixes a segfault is Py_FatalError() is called in an early stage of Python initialization.
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions