summarylogtreecommitdiffstats
path: root/wait3_argument.patch
diff options
context:
space:
mode:
authorJavier Tiá2016-09-27 08:40:59 -0600
committerJavier Tiá2016-09-27 08:40:59 -0600
commita3e4d63fd032be72a7564148f48f3675452e8fe2 (patch)
treeae900ccb3aced006b3542e0beb4034d2afbe37d3 /wait3_argument.patch
parentc8bef993c31d258bf3af0c0681d76b563f1154bd (diff)
downloadaur-fsniper.tar.gz
Bump up fsniper 1.3.1-3
Diffstat (limited to 'wait3_argument.patch')
-rw-r--r--wait3_argument.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/wait3_argument.patch b/wait3_argument.patch
new file mode 100644
index 00000000000..802da049339
--- /dev/null
+++ b/wait3_argument.patch
@@ -0,0 +1,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) {}
+ }
+