]> granicus.if.org Git - python/commit
Closes #22258: Fix the the internal function set_inheritable() on Illumos.
authorVictor Stinner <victor.stinner@gmail.com>
Tue, 2 Sep 2014 09:41:04 +0000 (11:41 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Tue, 2 Sep 2014 09:41:04 +0000 (11:41 +0200)
commit282124b8c4a277d634435c3a2fb2353abd567c31
tree27f11f0c50a90b2b4d90ef6bb3e9782a76300243
parenta42ad6bf84ff306e1a52c7c77401920c72eeaeb0
Closes #22258: Fix the the internal function set_inheritable() on Illumos.
This platform exposes the function ioctl(FIOCLEX), but calling it fails with
errno is ENOTTY: "Inappropriate ioctl for device". set_inheritable() now falls
back to the slower fcntl() (F_GETFD and then F_SETFD).
Misc/NEWS
Python/fileutils.c