[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[minion-cvs] Backport patches for a possible 0.0.3.1
Update of /home/minion/cvsroot/src/minion/lib/mixminion
In directory moria.mit.edu:/tmp/cvs-serv20572/lib/mixminion
Modified Files:
Tag: mixminion-v0-0-3-patches
Common.py
Log Message:
Backport patches for a possible 0.0.3.1
Index: Common.py
===================================================================
RCS file: /home/minion/cvsroot/src/minion/lib/mixminion/Common.py,v
retrieving revision 1.66
retrieving revision 1.66.2.1
diff -u -d -r1.66 -r1.66.2.1
--- Common.py 20 Feb 2003 16:57:39 -0000 1.66
+++ Common.py 9 Apr 2003 22:38:08 -0000 1.66.2.1
@@ -852,7 +852,7 @@
while 1:
try:
# WIN32 This won't work on Windows. What to do?
- pid, status = os.waitpid(0, options)
+ pid, status = os.waitpid(-1, options)
except OSError, e:
break
except e:
@@ -869,7 +869,7 @@
while 1:
try:
# WIN32 This waitpid call won't work on Windows. What to do?
- pid, status = os.waitpid(0, os.WNOHANG)
+ pid, status = os.waitpid(-1, os.WNOHANG)
if pid == 0:
break
except OSError: