diff options
author | cvs2svn <cvs2svn@FreeBSD.org> | 2004-10-29 09:06:05 +0000 |
---|---|---|
committer | cvs2svn <cvs2svn@FreeBSD.org> | 2004-10-29 09:06:05 +0000 |
commit | 3add449a170be706377b66bee46af25633bc945c (patch) | |
tree | 7415df14a37624ff0b24fd40bde079927a88c28a /lang/python24/files/patch-Lib::distutils::spawn.py | |
parent | 975af646f278430e563b72219a2c3055b211eb1a (diff) |
Notes
Diffstat (limited to 'lang/python24/files/patch-Lib::distutils::spawn.py')
-rw-r--r-- | lang/python24/files/patch-Lib::distutils::spawn.py | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/lang/python24/files/patch-Lib::distutils::spawn.py b/lang/python24/files/patch-Lib::distutils::spawn.py deleted file mode 100644 index 208b10fc1083..000000000000 --- a/lang/python24/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" % \ |