commit | 8257b6283e3ea41f5746835871dedcb00139bdfe | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@gmail.com> | Tue Sep 02 11:49:48 2014 +0200 |
committer | Victor Stinner <victor.stinner@gmail.com> | Tue Sep 02 11:49:48 2014 +0200 |
tree | ac4faa143dee7dbe08579bb12ec25fb17f8017c7 | |
parent | 7809569a2ea1a9d330ad7a5949bc43f835c1a276 [diff] | |
parent | 282124b8c4a277d634435c3a2fb2353abd567c31 [diff] |
(Merge 3.4) 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).