diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2021-08-06 13:40:44 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-06 13:40:44 (GMT) |
commit | 2ae2235c7a7627725df40c7875245cd17d90f39f (patch) | |
tree | 043b86247eb9ce8e3f487984f8a65d4b80632693 /Python/bltinmodule.c | |
parent | a11158ecef8cff795f7db8f4047cbd20cc9cf37e (diff) | |
download | cpython-2ae2235c7a7627725df40c7875245cd17d90f39f.zip cpython-2ae2235c7a7627725df40c7875245cd17d90f39f.tar.gz cpython-2ae2235c7a7627725df40c7875245cd17d90f39f.tar.bz2 |
bpo-44849: Fix os.set_inheritable() on FreeBSD 14 with O_PATH (GH-27623)
Fix the os.set_inheritable() function on FreeBSD 14 for file
descriptor opened with the O_PATH flag: ignore the EBADF error on
ioctl(), fallback on the fcntl() implementation.
(cherry picked from commit c24896c0e3b32c8a9f614ef51366007b67d5c665)
Co-authored-by: Victor Stinner <vstinner@python.org>
Diffstat (limited to 'Python/bltinmodule.c')
0 files changed, 0 insertions, 0 deletions