[Python-checkins] CVS: python/dist/src/Mac/Modules/cf _CFmodule.c,1.10,1.11

Jack Jansen jackjansen@users.sourceforge.net
Mon, 18 Mar 2002 07:40:51 -0800


Update of /cvsroot/python/python/dist/src/Mac/Modules/cf
In directory usw-pr-cvs1:/tmp/cvs-serv11933

Modified Files:
	_CFmodule.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: _CFmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Modules/cf/_CFmodule.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** _CFmodule.c	1 Jan 2002 22:42:47 -0000	1.10
--- _CFmodule.c	18 Mar 2002 15:40:48 -0000	1.11
***************
*** 2792,2796 ****
  	_res = Py_BuildValue("lO&",
  	                     _rv,
! 	                     PyMac_BuildFSRef, fsRef);
  	return _res;
  }
--- 2792,2796 ----
  	_res = Py_BuildValue("lO&",
  	                     _rv,
! 	                     PyMac_BuildFSRef, &fsRef);
  	return _res;
  }