aboutsummaryrefslogtreecommitdiff
path: root/mail/dbmail-devel/files/patch-2.0.4_bug198_pool.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/dbmail-devel/files/patch-2.0.4_bug198_pool.c')
-rw-r--r--mail/dbmail-devel/files/patch-2.0.4_bug198_pool.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/mail/dbmail-devel/files/patch-2.0.4_bug198_pool.c b/mail/dbmail-devel/files/patch-2.0.4_bug198_pool.c
new file mode 100644
index 000000000000..c21e745d9dda
--- /dev/null
+++ b/mail/dbmail-devel/files/patch-2.0.4_bug198_pool.c
@@ -0,0 +1,13 @@
+Index: pool.c
+===================================================================
+--- pool.c (revision 1763)
++++ pool.c (revision 1787)
+@@ -433,7 +433,7 @@
+
+ for (i = 0; i < scoreboard->conf->maxChildren; i++) {
+ chpid = scoreboard->child[i].pid;
+- if (chpid != 0)
++ if (chpid > 0)
+ kill(chpid, SIGKILL);;
+ scoreboard_release(chpid);
+ }