| commit | 282124b8c4a277d634435c3a2fb2353abd567c31 | [log] [tgz] |
|---|---|---|
| author | Victor Stinner <victor.stinner@gmail.com> | Tue Sep 02 11:41:04 2014 +0200 |
| committer | Victor Stinner <victor.stinner@gmail.com> | Tue Sep 02 11:41:04 2014 +0200 |
| tree | 27f11f0c50a90b2b4d90ef6bb3e9782a76300243 | |
| parent | a42ad6bf84ff306e1a52c7c77401920c72eeaeb0 [diff] |
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).