diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2009-12-18 10:08:32 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2009-12-18 10:08:32 +0000 |
commit | 213ae9a9a4fe56c95f02809a23c26af8a030b5c3 (patch) | |
tree | c2f4ec73918caaebb9c2c64e402a93f52f94018e /lang/python23/files/patch-Lib::distutils::spawn.py | |
parent | 999f90012afb5e2f976588f07e36b82e2fbc5c6e (diff) |
Notes
Diffstat (limited to 'lang/python23/files/patch-Lib::distutils::spawn.py')
-rw-r--r-- | lang/python23/files/patch-Lib::distutils::spawn.py | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/lang/python23/files/patch-Lib::distutils::spawn.py b/lang/python23/files/patch-Lib::distutils::spawn.py deleted file mode 100644 index 208b10fc1083..000000000000 --- a/lang/python23/files/patch-Lib::distutils::spawn.py +++ /dev/null @@ -1,17 +0,0 @@ ---- Lib/distutils/spawn.py.orig Tue Feb 24 16:55:44 2004 -+++ Lib/distutils/spawn.py Tue Feb 24 16:56:01 2004 -@@ -144,7 +144,13 @@ - # Loop until the child either exits or is terminated by a signal - # (ie. keep waiting if it's merely stopped) - while 1: -- (pid, status) = os.waitpid(pid, 0) -+ try: -+ (pid, status) = os.waitpid(pid, 0) -+ except OSError, exc: -+ import errno -+ if exc.errno == errno.EINTR: -+ continue -+ raise exc - if os.WIFSIGNALED(status): - raise DistutilsExecError, \ - "command '%s' terminated by signal %d" % \ |