• Thomas Heller's avatar
    Running a bdist_wininst installer, built with Python 2.3, installing · f725bdb5
    Thomas Heller yazdı
    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).
    f725bdb5
Adı
Son kayıt (commit)
Son güncelleme
..
bdist_wininst Loading commit data...
example_nt Loading commit data...
os2emx Loading commit data...
os2vacpp Loading commit data...
.cvsignore Loading commit data...
WinMain.c Loading commit data...
_winreg.c Loading commit data...
config.c Loading commit data...
dl_nt.c Loading commit data...
dllbase_nt.txt Loading commit data...
frozen_dllmain.c Loading commit data...
getpathp.c Loading commit data...
import_nt.c Loading commit data...
make_versioninfo.c Loading commit data...
msvcrtmodule.c Loading commit data...
py.ico Loading commit data...
pyc.ico Loading commit data...
pycon.ico Loading commit data...
pyconfig.h Loading commit data...
python.mk Loading commit data...
python_exe.rc Loading commit data...
python_nt.rc Loading commit data...
readme.txt Loading commit data...
testpy.py Loading commit data...
w9xpopen.c Loading commit data...
winsound.c Loading commit data...