diff options
author | Thomas Heller <theller@ctypes.org> | 2005-02-03 20:35:10 (GMT) |
---|---|---|
committer | Thomas Heller <theller@ctypes.org> | 2005-02-03 20:35:10 (GMT) |
commit | 9f2e3be4e86f95b33e9e307ecf115e72ae73b5e1 (patch) | |
tree | e6cb9bdb63fb82a2116d1f805bc6b05fb4a7b1b6 /Lib/DocXMLRPCServer.py | |
parent | 8abe7bfb2f5b231a71f9bd10d2c52680c545f87a (diff) | |
download | cpython-9f2e3be4e86f95b33e9e307ecf115e72ae73b5e1.zip cpython-9f2e3be4e86f95b33e9e307ecf115e72ae73b5e1.tar.gz cpython-9f2e3be4e86f95b33e9e307ecf115e72ae73b5e1.tar.bz2 |
Running a bdist_wininst installer, built with Python 2.3, installing
for Python 2.4 caused a segfault when post_install_script was used.
The reason was that the file handle passed to PyRun_SimpleFile() was
created with MSVCRT.DLL, but Python 2.4 uses MSVCR71.DLL.
So, I replaced PyRun_SimpleFile() with PyRun_SimpleString(). The
segfault is gone, but the output of the postinstall script doesn't
show up, because still freopen() from MSVCRT is used.
Already backported.
Diffstat (limited to 'Lib/DocXMLRPCServer.py')
0 files changed, 0 insertions, 0 deletions