[Python-checkins] python/dist/src/Modules mmapmodule.c,2.35.6.4,2.35.6.5

nnorwitz@users.sourceforge.net nnorwitz@users.sourceforge.net
Fri, 07 Feb 2003 11:46:47 -0800


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

Modified Files:
      Tag: release22-maint
	mmapmodule.c 
Log Message:
SF patch #682514, mmapmodule.c write fix for LP64 executables

Make length an int so we get the right value from
PyArg_ParseTuple(args, "s#", &str, &length) 



Index: mmapmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/mmapmodule.c,v
retrieving revision 2.35.6.4
retrieving revision 2.35.6.5
diff -C2 -d -r2.35.6.4 -r2.35.6.5
*** mmapmodule.c	10 Jan 2003 21:02:40 -0000	2.35.6.4
--- mmapmodule.c	7 Feb 2003 19:46:44 -0000	2.35.6.5
***************
*** 293,297 ****
  		  PyObject *args)
  {
! 	long length;
  	char *data;
  
--- 293,297 ----
  		  PyObject *args)
  {
! 	int length;
  	char *data;