diff options
author | Thomas Heller <theller@ctypes.org> | 2005-02-03 20:37:04 (GMT) |
---|---|---|
committer | Thomas Heller <theller@ctypes.org> | 2005-02-03 20:37:04 (GMT) |
commit | 2ee5bae04a9213216c56af996323bfb5e133c34b (patch) | |
tree | 1d1843ffd4a348d520a2b861eb6678f4df4e53d7 /Lib/copy.py | |
parent | 698fcf469bde83c9528e1ef90271dfa8628abd02 (diff) | |
download | cpython-2ee5bae04a9213216c56af996323bfb5e133c34b.zip cpython-2ee5bae04a9213216c56af996323bfb5e133c34b.tar.gz cpython-2ee5bae04a9213216c56af996323bfb5e133c34b.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.
Diffstat (limited to 'Lib/copy.py')
0 files changed, 0 insertions, 0 deletions