diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-11-02 21:07:25 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-11-02 21:07:25 +0000 |
commit | 27dfd272ae3be15b1017f733682211afa1c7c0f0 (patch) | |
tree | 1fe1c9ed5c5d79c63069bb8d541be075ccc3aac2 /app-misc/fsniper/files | |
parent | d950fa39dbe16d164ed0cb8e3036fd5d0d896a4c (diff) |
gentoo resync : 02.11.2017
Diffstat (limited to 'app-misc/fsniper/files')
-rw-r--r-- | app-misc/fsniper/files/fsniper-1.3.1-waitpid.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/app-misc/fsniper/files/fsniper-1.3.1-waitpid.patch b/app-misc/fsniper/files/fsniper-1.3.1-waitpid.patch new file mode 100644 index 000000000000..1363c4cbf73f --- /dev/null +++ b/app-misc/fsniper/files/fsniper-1.3.1-waitpid.patch @@ -0,0 +1,15 @@ +Replace obsolete wait3 by waitpid + +--- a/src/main.c ++++ b/src/main.c +@@ -193,8 +193,8 @@ + /* handler for reaping children after the fork is done. */ + void handle_child_signal() + { +- union wait status; +- while (wait3(&status, WNOHANG, 0) > 0) {} ++ int status; ++ while (waitpid(-1, &status, WNOHANG) > 0) {} + } + + /* handler for HUP. reloads the config file. */ |