summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/win
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2002-03-18 15:41:32 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2002-03-18 15:41:32 (GMT)
commitca9a4a6e175803b212bbb024fb54ef6d560c27d8 (patch)
tree6d283bad0621dadcd6045c755161949a0771930c /Mac/Modules/win
parentcb6cf13261cd7e9566e2682077a214f9788129bd (diff)
downloadcpython-ca9a4a6e175803b212bbb024fb54ef6d560c27d8.zip
cpython-ca9a4a6e175803b212bbb024fb54ef6d560c27d8.tar.gz
cpython-ca9a4a6e175803b212bbb024fb54ef6d560c27d8.tar.bz2
Lurking bug found by patch for 531291: FSSpecs should be passed to
Py_BuildValue by address, not by value. 2.2.1 candidate.
Diffstat (limited to 'Mac/Modules/win')
-rw-r--r--Mac/Modules/win/_Winmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mac/Modules/win/_Winmodule.c b/Mac/Modules/win/_Winmodule.c
index 6db74a9..80e4040 100644
--- a/Mac/Modules/win/_Winmodule.c
+++ b/Mac/Modules/win/_Winmodule.c
@@ -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;
}