Lurking bug found by patch for 531291: FSSpecs should be passed to

Py_BuildValue by address, not by value.

2.2.1 candidate.
This commit is contained in:
Jack Jansen 2002-03-18 15:41:32 +00:00
parent cb6cf13261
commit ca9a4a6e17
2 changed files with 2 additions and 2 deletions

View file

@ -2791,7 +2791,7 @@ static PyObject *CFURLRefObj_CFURLGetFSRef(CFURLRefObject *_self, PyObject *_arg
&fsRef);
_res = Py_BuildValue("lO&",
_rv,
PyMac_BuildFSRef, fsRef);
PyMac_BuildFSRef, &fsRef);
return _res;
}