mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
- 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)
This commit is contained in:
parent
6a528149db
commit
4a8c54e6d9
17 changed files with 114 additions and 205 deletions
|
@ -567,7 +567,7 @@ mac_write(self, args)
|
|||
{
|
||||
int fd, size;
|
||||
char *buffer;
|
||||
if (!PyArg_Parse(args, "(is#)", &fd, &buffer, &size))
|
||||
if (!PyArg_Parse(args, "(im#)", &fd, &buffer, &size))
|
||||
return NULL;
|
||||
Py_BEGIN_ALLOW_THREADS
|
||||
size = write(fd, buffer, size);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue