diff -urN knockd-0.5/debian/changelog knockd-0.5-new/debian/changelog
--- knockd-0.5/debian/changelog 2006-11-07 21:39:18.000000000 +0100
+++ knockd-0.5-new/debian/changelog 2006-11-07 21:29:35.000000000 +0100
@@ -1,3 +1,12 @@
+knockd (0.5-1.1) unstable; urgency=high
+
+ * NMU
+ * Fixing wrong SIGCHLD reaper with knockd.patch. It causes a lot of zombies
around due to use of a simple wait().
+ This patch should go upstream, too.
+ (closes: #373009)
+
+ -- Francesco Paolo Lovergine <[EMAIL PROTECTED]> Tue, 7 Nov 2006 21:16:30
+0100
+
knockd (0.5-1) unstable; urgency=low
* New upstream release
diff -urN knockd-0.5/debian/patches/knockd.patch
knockd-0.5-new/debian/patches/knockd.patch
--- knockd-0.5/debian/patches/knockd.patch 1970-01-01 01:00:00.000000000
+0100
+++ knockd-0.5-new/debian/patches/knockd.patch 2006-11-07 21:12:58.000000000
+0100
@@ -0,0 +1,14 @@
+--- knockd-0.5/src/knockd.c 2005-06-27 07:11:34.000000000 +0200
++++ knockd-0.5-new/src/knockd.c 2006-11-07 21:07:46.000000000 +0100
+@@ -352,8 +352,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;
+ }
+
--
Francesco P. Lovergine
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]