diff options
author | Mark Hammond <mhammond@skippinet.com.au> | 2001-01-31 10:28:03 (GMT) |
---|---|---|
committer | Mark Hammond <mhammond@skippinet.com.au> | 2001-01-31 10:28:03 (GMT) |
commit | ae8c268a2b55d5a8dc07e399b4e6ba186807c036 (patch) | |
tree | 824676fb731c5f44239351fc757b067b4932c5fd /Modules/zlibmodule.c | |
parent | 0850137fe4eb3bad462a03e78b5d7a440835e521 (diff) | |
download | cpython-ae8c268a2b55d5a8dc07e399b4e6ba186807c036.zip cpython-ae8c268a2b55d5a8dc07e399b4e6ba186807c036.tar.gz cpython-ae8c268a2b55d5a8dc07e399b4e6ba186807c036.tar.bz2 |
Fix [ Bug #129293 ] zlib library used for binary win32 distribution can crash
This involves changing the zlib build process to build zlib itself from sources, then use that library. Also updated are the comments to reflect the new official home of zlib, and add Windows specific notes regarding the build process.
Diffstat (limited to 'Modules/zlibmodule.c')
-rw-r--r-- | Modules/zlibmodule.c | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/Modules/zlibmodule.c b/Modules/zlibmodule.c index cb2a2e5..ed00b5c 100644 --- a/Modules/zlibmodule.c +++ b/Modules/zlibmodule.c @@ -1,6 +1,15 @@ /* zlibmodule.c -- gzip-compatible data compression */ -/* See http://www.cdrom.com/pub/infozip/zlib/ */ -/* See http://www.winimage.com/zLibDll for Windows */ +/* See http://www.info-zip.org/pub/infozip/zlib/ */ + +/* *** Notes for Windows Users *** + * Download the source distribution as referenced above. + * Unpack the distribution such that a "..\..\zlib-1.1.3" directory is created + relative to the "pcbuild" directory. + * Build this "zlib" project. Via from MSVC magic, the correct zlib makefile will + be run, and "..\..\zlib-1.1.3\zlib.lib" will be built before zlib.pyd. + *** End of notes for Windows users *** +*/ + #include "Python.h" #include "zlib.h" |