mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
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:
parent
cb6cf13261
commit
ca9a4a6e17
2 changed files with 2 additions and 2 deletions
|
@ -1172,7 +1172,7 @@ static PyObject *WinObj_GetWindowProxyFSSpec(WindowObject *_self, PyObject *_arg
|
|||
&outFile);
|
||||
if (_err != noErr) return PyMac_Error(_err);
|
||||
_res = Py_BuildValue("O&",
|
||||
PyMac_BuildFSSpec, outFile);
|
||||
PyMac_BuildFSSpec, &outFile);
|
||||
return _res;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue