blob: 802da04933986b56c03cd30b559eb8f68f36c0d0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
diff -Naur fsniper-1.3.1/src/main.c fsniper_new-1.3.1/src/main.c
--- fsniper-1.3.1/src/main.c 2008-10-18 19:30:37.000000000 +0200
+++ fsniper_new-1.3.1/src/main.c 2016-09-27 09:49:54.689836092 +0200
@@ -190,7 +190,7 @@
/* handler for reaping children after the fork is done. */
void handle_child_signal()
{
- union wait status;
+ int status;
while (wait3(&status, WNOHANG, 0) > 0) {}
}
|