From 15d6b105fc2ecca80bd6e985cd0c99e99047eb90 Mon Sep 17 00:00:00 2001 From: Leo Antunes Date: Mon, 18 Oct 2021 23:15:31 +0200 Subject: [PATCH] drop reap_child_procs.patch (merged upstream) --- debian/patches/reap_child_procs.patch | 16 ---------------- debian/patches/series | 1 - 2 files changed, 17 deletions(-) delete mode 100644 debian/patches/reap_child_procs.patch diff --git a/debian/patches/reap_child_procs.patch b/debian/patches/reap_child_procs.patch deleted file mode 100644 index b11c782..0000000 --- a/debian/patches/reap_child_procs.patch +++ /dev/null @@ -1,16 +0,0 @@ -Index: repo/src/knockd.c -=================================================================== ---- repo.orig/src/knockd.c 2016-09-28 21:42:58.417421069 +0200 -+++ repo/src/knockd.c 2016-09-28 21:42:58.413421096 +0200 -@@ -366,8 +366,9 @@ - - void child_exit(int signum) - { -- /* child wants to exit, let em die */ -- wait(NULL); -+ int status; -+ -+ while ( waitpid( (pid_t)-1, &status, WNOHANG ) > 0 ) continue; - return; - } - diff --git a/debian/patches/series b/debian/patches/series index eb63939..61b4508 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,3 +1,2 @@ default_config.patch -reap_child_procs.patch syslog_facility_daemon.patch