summaryrefslogtreecommitdiff
path: root/Python/strerror.c
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2007-04-23 01:58:33 +0000
committerBarry Warsaw <barry@python.org>2007-04-23 01:58:33 +0000
commit2f131d81e2c45c4a2a8bebd0eded737bc90de965 (patch)
tree362b77d90f5674a6dadcc0ada9aebd5dfca9a836 /Python/strerror.c
parentb9d39916ac8a23949c7abf95fe832376f44dce99 (diff)
downloadcpython-git-2f131d81e2c45c4a2a8bebd0eded737bc90de965.tar.gz
Recommit r54805:
Add code to read from master_fd in the parent, breaking when we get an OSError (EIO can occur on Linux) or there's no more data to read. Without this, test_pty.py can hang on the waitpid() because the child is blocking on the stdout write. This will definitely happen on Mac OS X and could potentially happen on other platforms. See the comment for details.
Diffstat (limited to 'Python/strerror.c')
0 files changed, 0 insertions, 0 deletions