summaryrefslogtreecommitdiff
path: root/mail/exim/files/patch-src::exim.c
diff options
context:
space:
mode:
authorSheldon Hearn <sheldonh@FreeBSD.org>2001-11-02 17:11:14 +0000
committerSheldon Hearn <sheldonh@FreeBSD.org>2001-11-02 17:11:14 +0000
commit34323bd7e010dbd9c534ddfa821dfcc48d54c7fe (patch)
treee8a1783aee2ffd9575a3b786890b2357988802ee /mail/exim/files/patch-src::exim.c
parentAdd pyPgSQL, a Python DB-API 2 compliant library for using PostgreSQL (diff)
Add the author's patch to fix a failure to reap children on BSD systems,
where SIG_IGN as the signal handler for SIGCHLD is bad. This is only an issue when a significant number of messages is received via pipe (e.g. with -bS) at a faster rate than they can be dealt with by parallel delivery agents (e.g. -odqs). Bump PORTREVISION to reflect the change. Obtained from: exim-users@exim.org Message-Id: Pine.SOL.4.33.0111021349170.19636-100000@virgo.cus.cam.ac.uk
Diffstat (limited to '')
-rw-r--r--mail/exim/files/patch-src::exim.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/mail/exim/files/patch-src::exim.c b/mail/exim/files/patch-src::exim.c
index e84e06bcff84..c16f4a861e8e 100644
--- a/mail/exim/files/patch-src::exim.c
+++ b/mail/exim/files/patch-src::exim.c
@@ -10,3 +10,11 @@
(list_queue && queue_list_requires_admin) ||
(queue_interval >= 0 && prod_requires_admin))
{
+@@ -3462,6 +3463,7 @@
+ }
+
+ /* The loop will repeat if more is TRUE. */
++ while (waitpid(-1, NULL, WNOHANG) > 0);
+ }
+
+ exim_exit(EXIT_SUCCESS); /* Never returns */