diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-misc/fsniper/files/fsniper-1.3.1-waitpid.patch | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-misc/fsniper/files/fsniper-1.3.1-waitpid.patch')
-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. */ |