[Python-checkins] python/dist/src/Modules zipimport.c,1.16,1.17

jvr at users.sourceforge.net jvr at users.sourceforge.net
Sun Sep 7 07:36:50 EDT 2003


Update of /cvsroot/python/python/dist/src/Modules
In directory sc8-pr-cvs1:/tmp/cvs-serv30012

Modified Files:
	zipimport.c 
Log Message:
Patch #801349: 64-bit fix for AMD64 from Gwenole Beauchesne.
Classical problem with int vs. long mismatch in varargs.     
2.3 backport candidate.


Index: zipimport.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/zipimport.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** zipimport.c	22 Jul 2003 18:10:15 -0000	1.16
--- zipimport.c	7 Sep 2003 13:36:48 -0000	1.17
***************
*** 876,880 ****
  		goto error;
  	}
! 	data = PyObject_CallFunction(decompress, "Ol", raw_data, -15);
  error:
  	Py_DECREF(raw_data);
--- 876,880 ----
  		goto error;
  	}
! 	data = PyObject_CallFunction(decompress, "Oi", raw_data, -15);
  error:
  	Py_DECREF(raw_data);





More information about the Python-checkins mailing list