[Python-checkins] CVS: python/dist/src/Mac/Modules/win _Winmodule.c,1.7,1.8
Jack Jansen
jackjansen@users.sourceforge.net
Mon, 18 Mar 2002 07:41:34 -0800
Update of /cvsroot/python/python/dist/src/Mac/Modules/win
In directory usw-pr-cvs1:/tmp/cvs-serv12174
Modified Files:
_Winmodule.c
Log Message:
Lurking bug found by patch for 531291: FSSpecs should be passed to
Py_BuildValue by address, not by value.
2.2.1 candidate.
Index: _Winmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Modules/win/_Winmodule.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** _Winmodule.c 18 Dec 2001 15:36:06 -0000 1.7
--- _Winmodule.c 18 Mar 2002 15:41:32 -0000 1.8
***************
*** 1173,1177 ****
if (_err != noErr) return PyMac_Error(_err);
_res = Py_BuildValue("O&",
! PyMac_BuildFSSpec, outFile);
return _res;
}
--- 1173,1177 ----
if (_err != noErr) return PyMac_Error(_err);
_res = Py_BuildValue("O&",
! PyMac_BuildFSSpec, &outFile);
return _res;
}