summaryrefslogtreecommitdiff
path: root/mail/dbmail20/files/patch-2.0.4_bug198_pool.c
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-07-18 16:04:16 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-07-18 16:04:16 +0000
commit05065d99c78a53f6ab97086574a01d75be79decc (patch)
tree2f9f09b2b30cc41ccd58808030a38660205a46fb /mail/dbmail20/files/patch-2.0.4_bug198_pool.c
parent- Update to 1.3.2 (diff)
- Patch nine bugs:
#79 - INTERNALDATE reponses do not conform to RFC #145 - LMTP loses return-path #177 - Compile Fails on FreeBSD (fixes compilation on FreeBSD 4.X) #184 - socklen_t issue #190 - huge load if database crash #198 - DBMail processes killing each other #199 - spare child creates zombie #214 - dbmail-smtp dumps core with double free #216 - malformed header prevents delivery - Fix RC_SUBR usage PR: ports/83437, also ports/80736, ports/82437, ports/83575 Submitted by: Mark Starovoytov <mark@kikg.ifmo.ru>, parts also by: Radim Kolar <hsn@netmag.cz>, thompsa, Marcus Grando <marcus@corp.grupos.com.br> Approved by: maintainer timeout (2 months on oldest PR)
Diffstat (limited to 'mail/dbmail20/files/patch-2.0.4_bug198_pool.c')
-rw-r--r--mail/dbmail20/files/patch-2.0.4_bug198_pool.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/mail/dbmail20/files/patch-2.0.4_bug198_pool.c b/mail/dbmail20/files/patch-2.0.4_bug198_pool.c
new file mode 100644
index 000000000000..c21e745d9dda
--- /dev/null
+++ b/mail/dbmail20/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);
+ }