mirror of
https://github.com/python/cpython.git
synced 2024-11-23 18:04:37 +08:00
Add unused third arg for the benefit of Valgrind.
This commit is contained in:
parent
e109ee8205
commit
49d0479357
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user