diff options
author | Fred Drake <fdrake@acm.org> | 2000-07-03 13:44:25 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2000-07-03 13:44:25 (GMT) |
commit | 0ea1fc8acf33bdbfe578d8ccaba6e030da6bde40 (patch) | |
tree | 3c6ae867ea392a7806fec6a6e7cf49251642299d /Lib | |
parent | ae96aab1fedb23c5527906eef17bbfc54d7c04f7 (diff) | |
download | cpython-0ea1fc8acf33bdbfe578d8ccaba6e030da6bde40.zip cpython-0ea1fc8acf33bdbfe578d8ccaba6e030da6bde40.tar.gz cpython-0ea1fc8acf33bdbfe578d8ccaba6e030da6bde40.tar.bz2 |
Fix bug #379, reported by Phillip Porch <root@theproch.com>:
openpty(): Fallback code when os.openpty() does not exist attempted to
call _slave_open(), which should have been slave_open().
This bug only showed on platforms which do not provide a working openpty()
in the C library.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/pty.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -25,7 +25,7 @@ def openpty(): except (AttributeError, OSError): pass master_fd, slave_name = _open_terminal() - slave_fd = _slave_open(slave_name) + slave_fd = slave_open(slave_name) return master_fd, slave_fd def master_open(): |