[issue33384] Build does not work with closed stdin on NetBSD
STINNER Victor
report at bugs.python.org
Tue Oct 22 19:30:03 EDT 2019
STINNER Victor <vstinner at python.org> added the comment:
I'm quite that this issue has been fixed by bpo-30225 which is part Python 3.7.4, Python 3.8.0 and newer. I mark the issue as duplicate of bpo-30225. Please reopen the bug if these versions still fail on NetBSD.
commit 1c4670ea0cc3d208121af11b9b973e6bb268e570
Author: Victor Stinner <victor.stinner at gmail.com>
Date: Thu May 4 00:45:56 2017 +0200
bpo-30225: Fix is_valid_fd() on macOS Tiger (#1443)
is_valid_fd() now uses fstat() instead of dup() on macOS to return 0
on a pipe when the other side of the pipe is closed. fstat() fails
with EBADF in that case, whereas dup() succeed.
----------
nosy: +vstinner
resolution: -> duplicate
stage: -> resolved
status: open -> closed
superseder: -> EBADF error on x86 Tiger 3.x buildbot
title: Build does not work with closed stdin -> Build does not work with closed stdin on NetBSD
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33384>
_______________________________________
More information about the Python-bugs-list
mailing list