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