[Python-checkins] CVS: python/dist/src/Mac/Modules/cf _CFmodule.c,1.9.4.1,1.9.4.2
Jack Jansen
jackjansen@users.sourceforge.net
Mon, 18 Mar 2002 07:54:31 -0800
Update of /cvsroot/python/python/dist/src/Mac/Modules/cf
In directory usw-pr-cvs1:/tmp/cvs-serv15738/cf
Modified Files:
Tag: release22-maint
_CFmodule.c
Log Message:
Backport of _CFmodule.c 1.11 and _Winmodule 1.8:
Lurking bug found by patch for 531291: FSSpecs should be passed to
Py_BuildValue by address, not by value.
Index: _CFmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Modules/cf/_CFmodule.c,v
retrieving revision 1.9.4.1
retrieving revision 1.9.4.2
diff -C2 -d -r1.9.4.1 -r1.9.4.2
*** _CFmodule.c 27 Feb 2002 23:10:00 -0000 1.9.4.1
--- _CFmodule.c 18 Mar 2002 15:54:29 -0000 1.9.4.2
***************
*** 2792,2796 ****
_res = Py_BuildValue("lO&",
_rv,
! PyMac_BuildFSRef, fsRef);
return _res;
}
--- 2792,2796 ----
_res = Py_BuildValue("lO&",
_rv,
! PyMac_BuildFSRef, &fsRef);
return _res;
}