Staging
v0.5.1
https://github.com/python/cpython
Revision 2ee5bae04a9213216c56af996323bfb5e133c34b authored by Thomas Heller on 03 February 2005, 20:37:04 UTC, committed by Thomas Heller on 03 February 2005, 20:37:04 UTC
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.
1 parent 698fcf4
History
Tip revision: 2ee5bae04a9213216c56af996323bfb5e133c34b authored by Thomas Heller on 03 February 2005, 20:37:04 UTC
Running a bdist_wininst installer, built with Python 2.3, installing
Tip revision: 2ee5bae
File Mode Size
.cvsignore -rw-r--r-- 276 bytes
BUILDno.txt -rw-r--r-- 3.8 KB
Uninstal.wse -rw-r--r-- 9.5 KB
_bsddb.vcproj -rw-r--r-- 7.4 KB
_socket.vcproj -rw-r--r-- 7.1 KB
_ssl.mak -rw-r--r-- 655 bytes
_ssl.vcproj -rw-r--r-- 1.5 KB
_testcapi.vcproj -rw-r--r-- 7.1 KB
_tkinter.vcproj -rw-r--r-- 8.3 KB
build_ssl.py -rw-r--r-- 5.7 KB
bz2.vcproj -rw-r--r-- 7.4 KB
field3.py -rw-r--r-- 966 bytes
installer.bmp -rw-r--r-- 49.1 KB
make_versioninfo.vcproj -rw-r--r-- 4.9 KB
pcbuild.sln -rw-r--r-- 12.3 KB
pyexpat.vcproj -rw-r--r-- 10.6 KB
python.iss -rw-r--r-- 18.4 KB
python.vcproj -rw-r--r-- 7.5 KB
python20.wse -rw-r--r-- 78.0 KB
pythoncore.vcproj -rw-r--r-- 98.2 KB
pythonw.vcproj -rw-r--r-- 7.5 KB
readme.txt -rw-r--r-- 12.5 KB
rmpyc.py -rw-r--r-- 597 bytes
rt.bat -rwxr-xr-x 1.5 KB
select.vcproj -rw-r--r-- 7.2 KB
unicodedata.vcproj -rw-r--r-- 7.2 KB
w9xpopen.vcproj -rw-r--r-- 4.1 KB
winsound.vcproj -rw-r--r-- 7.2 KB
zlib.vcproj -rw-r--r-- 6.9 KB

readme.txt

back to top