[evoke] r1248 committed - * Remove the conditional, and always reap and spin on waitpid.

1 view
Skip to first unread message

codesite...@google.com

unread,
Oct 2, 2009, 1:20:39 PM10/2/09
to evoke-...@googlegroups.com
Revision: 1248
Author: heliocentric
Date: Fri Oct 2 10:19:50 2009
Log: * Remove the conditional, and always reap and spin on waitpid.


http://code.google.com/p/evoke/source/detail?r=1248

Modified:
/trunk/builder/targets/FreeBSD/share/nsrc/nexusd/nexusd.c

=======================================
--- /trunk/builder/targets/FreeBSD/share/nsrc/nexusd/nexusd.c Thu Oct 1
09:09:17 2009
+++ /trunk/builder/targets/FreeBSD/share/nsrc/nexusd/nexusd.c Fri Oct 2
10:19:50 2009
@@ -473,14 +473,7 @@
} else {
while (1) {
pid = waitpid(-1, (int *) 0, WUNTRACED);
- printf("pid(%d) returned %d\n", pid, *status);
- printf("wait returned %d\n", *status);
- if (pid == *systartpid) {
- perror("systart:");
- return *status;
- } else {
- printf("pid(%d) returned %d\n", pid, *status);
- }
+ printf("wait returned on (%d)", pid);
}
}
}

Reply all
Reply to author
Forward
0 new messages