commit | 000de53624d7904d48caab7b315d2a52938fdb1d | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@gmail.com> | Mon Nov 25 23:19:58 2013 +0100 |
committer | Victor Stinner <victor.stinner@gmail.com> | Mon Nov 25 23:19:58 2013 +0100 |
tree | 3dda0c3f606891a3bf42d3903f5dc0f3d363aed4 | |
parent | b4a04fb7e6407d5107dba9aa2770554cc66de9bb [diff] |
Issue #19752: Fix "HAVE_DEV_PTMX" implementation of os.openpty() Regression introduced by the implementation of the PEP 446 (non-inheritable file descriptors by default). master_fd must be set non-inheritable after the creation of the slave_fd, otherwise grantpt(master_fd) fails with EPERM (errno 13).