Staging
v0.5.1
https://github.com/python/cpython
Revision f725bdb5c704e07578c7bbdd4c853f1e07fd3d16 authored by Thomas Heller on 25 January 2005, 20:46:48 UTC, committed by Thomas Heller on 25 January 2005, 20:46:48 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.

(I would be very gratefull if someone proofreads the patch, at least).
1 parent cf5d664
History
Tip revision: f725bdb5c704e07578c7bbdd4c853f1e07fd3d16 authored by Thomas Heller on 25 January 2005, 20:46:48 UTC
Running a bdist_wininst installer, built with Python 2.3, installing
Tip revision: f725bdb
File Mode Size
Python.h -rw-r--r-- 3.8 KB
abstract.h -rw-r--r-- 35.8 KB
bitset.h -rw-r--r-- 792 bytes
boolobject.h -rw-r--r-- 733 bytes
bufferobject.h -rw-r--r-- 893 bytes
cStringIO.h -rw-r--r-- 1.9 KB
cellobject.h -rw-r--r-- 608 bytes
ceval.h -rw-r--r-- 4.0 KB
classobject.h -rw-r--r-- 2.8 KB
cobject.h -rw-r--r-- 1.6 KB
codecs.h -rw-r--r-- 4.6 KB
compile.h -rw-r--r-- 3.3 KB
complexobject.h -rw-r--r-- 1.4 KB
datetime.h -rw-r--r-- 4.7 KB
descrobject.h -rw-r--r-- 2.1 KB
dictobject.h -rw-r--r-- 5.1 KB
enumobject.h -rw-r--r-- 211 bytes
errcode.h -rw-r--r-- 1.3 KB
eval.h -rw-r--r-- 557 bytes
fileobject.h -rw-r--r-- 2.4 KB
floatobject.h -rw-r--r-- 3.7 KB
frameobject.h -rw-r--r-- 2.5 KB
funcobject.h -rw-r--r-- 1.8 KB
graminit.h -rw-r--r-- 1.5 KB
grammar.h -rw-r--r-- 2.0 KB
import.h -rw-r--r-- 1.5 KB
intobject.h -rw-r--r-- 1.9 KB
intrcheck.h -rw-r--r-- 274 bytes
iterobject.h -rw-r--r-- 526 bytes
listobject.h -rw-r--r-- 1.8 KB
longintrepr.h -rw-r--r-- 1.9 KB
longobject.h -rw-r--r-- 4.5 KB
marshal.h -rw-r--r-- 661 bytes
metagrammar.h -rw-r--r-- 253 bytes
methodobject.h -rw-r--r-- 2.3 KB
modsupport.h -rw-r--r-- 3.4 KB
moduleobject.h -rw-r--r-- 605 bytes
node.h -rw-r--r-- 804 bytes
object.h -rw-r--r-- 27.9 KB
objimpl.h -rw-r--r-- 11.8 KB
opcode.h -rw-r--r-- 4.2 KB
osdefs.h -rw-r--r-- 1018 bytes
parsetok.h -rw-r--r-- 1.3 KB
patchlevel.h -rw-r--r-- 1.2 KB
pgen.h -rw-r--r-- 253 bytes
pgenheaders.h -rw-r--r-- 1.1 KB
py_curses.h -rw-r--r-- 4.1 KB
pydebug.h -rw-r--r-- 1.0 KB
pyerrors.h -rw-r--r-- 8.8 KB
pyfpe.h -rw-r--r-- 8.3 KB
pygetopt.h -rw-r--r-- 306 bytes
pymactoolbox.h -rw-r--r-- 7.6 KB
pymem.h -rw-r--r-- 3.9 KB
pyport.h -rw-r--r-- 17.5 KB
pystate.h -rw-r--r-- 5.1 KB
pythonrun.h -rw-r--r-- 5.4 KB
pythread.h -rw-r--r-- 1.2 KB
rangeobject.h -rw-r--r-- 601 bytes
sliceobject.h -rw-r--r-- 1.1 KB
stringobject.h -rw-r--r-- 6.0 KB
structmember.h -rw-r--r-- 2.5 KB
structseq.h -rw-r--r-- 862 bytes
symtable.h -rw-r--r-- 3.5 KB
sysmodule.h -rw-r--r-- 819 bytes
token.h -rw-r--r-- 1.6 KB
traceback.h -rw-r--r-- 473 bytes
tupleobject.h -rw-r--r-- 1.6 KB
ucnhash.h -rw-r--r-- 682 bytes
unicodeobject.h -rw-r--r-- 39.1 KB
weakrefobject.h -rw-r--r-- 2.1 KB

back to top