- Changed the m# format for PyArg_ParseTuple back to s#

- c2pstr has moved to a different include file
This commit is contained in:
Jack Jansen 1997-05-07 15:46:31 +00:00
parent d1d242ec84
commit eeccca9bdc
5 changed files with 7 additions and 7 deletions

View file

@ -567,7 +567,7 @@ mac_write(self, args)
{
int fd, size;
char *buffer;
if (!PyArg_Parse(args, "(im#)", &fd, &buffer, &size))
if (!PyArg_Parse(args, "(is#)", &fd, &buffer, &size))
return NULL;
Py_BEGIN_ALLOW_THREADS
size = write(fd, buffer, size);