summaryrefslogtreecommitdiff
path: root/mail/dbmail20/files/patch-2.0.4_bug199_server.c
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-09-13 20:25:54 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-09-13 20:25:54 +0000
commitf12d116f994751f5bc64a3239c5c75658822bd2f (patch)
tree2d473662ff8ba23514e4d6a2786b1abee760d778 /mail/dbmail20/files/patch-2.0.4_bug199_server.c
parentDocument unzip -- permission race vulnerability. [1] (diff)
- Update to 2.0.7
- Add patch for bug 266 - Reset maintainership (3 months of maintainer timeouts) - Assign maintainership to a volunteer PR: ports/85455, ports/85763 Submitted by: Mark Starovoytov <mark_sf@kikg.ifmo.ru> Approved by: maintainer timeout (seanc; 14 days)
Diffstat (limited to 'mail/dbmail20/files/patch-2.0.4_bug199_server.c')
-rw-r--r--mail/dbmail20/files/patch-2.0.4_bug199_server.c35
1 files changed, 0 insertions, 35 deletions
diff --git a/mail/dbmail20/files/patch-2.0.4_bug199_server.c b/mail/dbmail20/files/patch-2.0.4_bug199_server.c
deleted file mode 100644
index 6786e6c8fc60..000000000000
--- a/mail/dbmail20/files/patch-2.0.4_bug199_server.c
+++ /dev/null
@@ -1,35 +0,0 @@
-Index: server.c
-===================================================================
---- server.c (revision 1763)
-+++ server.c (revision 1787)
-@@ -69,7 +69,7 @@
-
- act.sa_sigaction = ParentSigHandler;
- sigemptyset(&act.sa_mask);
-- act.sa_flags = SA_SIGINFO;
-+ act.sa_flags = SA_SIGINFO | SA_NOCLDSTOP;
-
- sigaction(SIGCHLD, &act, 0);
- sigaction(SIGINT, &act, 0);
-@@ -152,6 +152,7 @@
-
- void ParentSigHandler(int sig, siginfo_t * info, void *data)
- {
-+ pid_t chpid;
- int saved_errno = errno;
-
- if (ParentPID != getpid()) {
-@@ -175,7 +176,12 @@
- break;
-
- case SIGCHLD:
-- break; /* ignore, wait for child in main loop */
-+ /* ignore, wait for child in main loop */
-+ /* but we need to catch zombie */
-+ if ((chpid = waitpid(-1,&sig,WNOHANG)) > 0)
-+ scoreboard_release(chpid);
-+
-+ break;
-
- case SIGHUP:
- trace(TRACE_DEBUG,