projects/aports·blob master · refs

11 lines · 395 B

1--- ./Modules/fcntlmodule.c.orig
2+++ ./Modules/fcntlmodule.c
3@@ -118,7 +118,7 @@
4 int mutate_arg = 1;
5 char buf[IOCTL_BUFSZ+1]; /* argument plus NUL byte */
6
7- if (PyArg_ParseTuple(args, "O&Iw#|i:ioctl",
8+ if (PyArg_ParseTuple(args, "O&Iw#|n:ioctl",
9 conv_descriptor, &fd, &code,
10 &str, &len, &mutate_arg)) {
11 char *arg;