Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 49d0479

Browse files
author
Stefan Krah
committed
Add unused third arg for the benefit of Valgrind.
1 parent e109ee8 commit 49d0479

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Python/fileutils.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -675,7 +675,7 @@ set_inheritable(int fd, int inheritable, int raise, int *atomic_flag_works)
675675
request = FIONCLEX;
676676
else
677677
request = FIOCLEX;
678-
err = ioctl(fd, request);
678+
err = ioctl(fd, request, NULL);
679679
if (err) {
680680
if (raise)
681681
PyErr_SetFromErrno(PyExc_OSError);

0 commit comments

Comments
 (0)