]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Add unused third arg for the benefit of Valgrind.
authorStefan Krah <skrah@bytereef.org>
Thu, 14 Nov 2013 14:35:47 +0000 (15:35 +0100)
committerStefan Krah <skrah@bytereef.org>
Thu, 14 Nov 2013 14:35:47 +0000 (15:35 +0100)
Python/fileutils.c

index eecbb3b57ae0e42e82b7b9cb95418475ae9fe3df..b504b15671671bb3d31dd01729d147bdaf29731e 100644 (file)
@@ -675,7 +675,7 @@ set_inheritable(int fd, int inheritable, int raise, int *atomic_flag_works)
         request = FIONCLEX;
     else
         request = FIOCLEX;
-    err = ioctl(fd, request);
+    err = ioctl(fd, request, NULL);
     if (err) {
         if (raise)
             PyErr_SetFromErrno(PyExc_OSError);