[Python-checkins] CVS: python/dist/src/Modules zlibmodule.c,2.36,2.37
Mark Hammond
mhammond@users.sourceforge.net
Wed, 31 Jan 2001 02:28:05 -0800
Update of /cvsroot/python/python/dist/src/Modules
In directory usw-pr-cvs1:/tmp/cvs-serv9779/Modules
Modified Files:
zlibmodule.c
Log Message:
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.
Index: zlibmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/zlibmodule.c,v
retrieving revision 2.36
retrieving revision 2.37
diff -C2 -r2.36 -r2.37
*** zlibmodule.c 2000/10/09 14:18:10 2.36
--- zlibmodule.c 2001/01/31 10:28:02 2.37
***************
*** 1,5 ****
/* zlibmodule.c -- gzip-compatible data compression */
! /* See http://www.cdrom.com/pub/infozip/zlib/ */
! /* See http://www.winimage.com/zLibDll for Windows */
#include "Python.h"
--- 1,14 ----
/* zlibmodule.c -- gzip-compatible data compression */
! /* 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"