[Python-checkins] python/dist/src/Modules mmapmodule.c,2.42,2.43
nnorwitz@users.sourceforge.net
nnorwitz@users.sourceforge.net
Fri, 07 Feb 2003 11:44:58 -0800
Update of /cvsroot/python/python/dist/src/Modules
In directory sc8-pr-cvs1:/tmp/cvs-serv15924/Modules
Modified Files:
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)
Will backport.
Index: mmapmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/mmapmodule.c,v
retrieving revision 2.42
retrieving revision 2.43
diff -C2 -d -r2.42 -r2.43
*** mmapmodule.c 10 Jan 2003 20:52:15 -0000 2.42
--- mmapmodule.c 7 Feb 2003 19:44:56 -0000 2.43
***************
*** 293,297 ****
PyObject *args)
{
! long length;
char *data;
--- 293,297 ----
PyObject *args)
{
! int length;
char *data;