summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/macosmodule.c
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1997-02-24 13:56:59 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1997-02-24 13:56:59 (GMT)
commit4a8c54e6d91549ae140970862d661dacf1112e31 (patch)
tree23703ecb8562e7301dd487ecb310bf4ad74cf802 /Mac/Modules/macosmodule.c
parent6a528149dbed46723b8fc48c7b7cd21f9a727dff (diff)
downloadcpython-4a8c54e6d91549ae140970862d661dacf1112e31.zip
cpython-4a8c54e6d91549ae140970862d661dacf1112e31.tar.gz
cpython-4a8c54e6d91549ae140970862d661dacf1112e31.tar.bz2
- Changed GestaltEqu.h to Gestalt.h
- Changed FragLoader.h to CodeFragments.h - Removed Desk.h - Regenerated bgen modules from new universal headers - Changed some of the s# in PyArg_ParseTuple to m# (unfortunately: this should have been a different commit)
Diffstat (limited to 'Mac/Modules/macosmodule.c')
-rw-r--r--Mac/Modules/macosmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mac/Modules/macosmodule.c b/Mac/Modules/macosmodule.c
index eed4352..89f986b 100644
--- a/Mac/Modules/macosmodule.c
+++ b/Mac/Modules/macosmodule.c
@@ -117,7 +117,7 @@ rf_write(self, args)
PyErr_SetString(PyExc_ValueError, "Operation on closed file");
return NULL;
}
- if (!PyArg_ParseTuple(args, "s#", &buffer, &size))
+ if (!PyArg_ParseTuple(args, "m#", &buffer, &size))
return NULL;
err = FSWrite(self->fRefNum, &size, buffer);
if (err) {