Commits

Jack Jansen  committed b59e8a8

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.

  • Participants
  • Parent commits 8fc9a57
  • Branches 2.2

Comments (0)

Files changed (2)

File Mac/Modules/cf/_CFmodule.c

 	                    &fsRef);
 	_res = Py_BuildValue("lO&",
 	                     _rv,
-	                     PyMac_BuildFSRef, fsRef);
+	                     PyMac_BuildFSRef, &fsRef);
 	return _res;
 }
 

File Mac/Modules/win/_Winmodule.c

 	                            &outFile);
 	if (_err != noErr) return PyMac_Error(_err);
 	_res = Py_BuildValue("O&",
-	                     PyMac_BuildFSSpec, outFile);
+	                     PyMac_BuildFSSpec, &outFile);
 	return _res;
 }