diff options
author | miwi <miwi@FreeBSD.org> | 2006-06-15 19:04:06 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2006-06-15 19:04:06 +0800 |
commit | f86c199d9150623eec1707ab9f9bb54d77a0fcb1 (patch) | |
tree | 7fe991dab05bddb06b2a0b87fb38ddadc2e7e7e2 /misc | |
parent | 8692ec4b1092059c664f5bfcdacf61c7b37c40ff (diff) | |
download | freebsd-ports-gnome-f86c199d9150623eec1707ab9f9bb54d77a0fcb1.tar.gz freebsd-ports-gnome-f86c199d9150623eec1707ab9f9bb54d77a0fcb1.tar.zst freebsd-ports-gnome-f86c199d9150623eec1707ab9f9bb54d77a0fcb1.zip |
Remove useless patches
Approved by: krion (mentor), maintainer
Diffstat (limited to 'misc')
-rw-r--r-- | misc/py-pexpect/files/patch-pexpect.py | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/misc/py-pexpect/files/patch-pexpect.py b/misc/py-pexpect/files/patch-pexpect.py deleted file mode 100644 index 37263f96a784..000000000000 --- a/misc/py-pexpect/files/patch-pexpect.py +++ /dev/null @@ -1,29 +0,0 @@ ---- pexpect.py.orig Mon Apr 26 14:16:08 2004 -+++ pexpect.py Mon Apr 26 14:19:45 2004 -@@ -498,21 +498,24 @@ class spawn: - pid, status = os.waitpid(self.pid, os.WNOHANG) - except OSError: - return 0 - - # I have to do this twice for Solaris. - # I can't even believe that I figured this out... -- if pid == 0 and status == 0: -+ -+ # If waitpid() returns 0 it means that no child process wishes to -+ # report, and the value of status is undefined. -+ if pid == 0: - try: - pid, status = os.waitpid(self.pid, os.WNOHANG) - #print 'Solaris sucks' - except OSError: # This is crufty. When does this happen? - return 0 - # If pid and status is still 0 after two calls to waitpid() then - # the process really is alive. This seems to work on all platforms. -- if pid == 0 and status == 0: -+ if pid == 0: - return 1 - - # I do not OR this together because I want hooks for debugging. - if os.WIFEXITED (status): - self.exitstatus = os.WEXITSTATUS(status) - return 0 |