mirror of
https://github.com/python/cpython.git
synced 2025-09-13 20:27:05 +00:00
Add unused third arg for the benefit of Valgrind.
This commit is contained in:
parent
e109ee8205
commit
49d0479357
1 changed files with 1 additions and 1 deletions
|
@ -675,7 +675,7 @@ set_inheritable(int fd, int inheritable, int raise, int *atomic_flag_works)
|
||||||
request = FIONCLEX;
|
request = FIONCLEX;
|
||||||
else
|
else
|
||||||
request = FIOCLEX;
|
request = FIOCLEX;
|
||||||
err = ioctl(fd, request);
|
err = ioctl(fd, request, NULL);
|
||||||
if (err) {
|
if (err) {
|
||||||
if (raise)
|
if (raise)
|
||||||
PyErr_SetFromErrno(PyExc_OSError);
|
PyErr_SetFromErrno(PyExc_OSError);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue