aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2001-08-26 00:42:54 +0800
committerache <ache@FreeBSD.org>2001-08-26 00:42:54 +0800
commitb18c054e8fb993436694a71cbd03bbc9870bac33 (patch)
treec6056d944b676101edc51b7e41d08c63c21553d3 /security
parent07b0b895e7aacc7c9057ad21d1e7a12b962cc9d9 (diff)
downloadfreebsd-ports-gnome-b18c054e8fb993436694a71cbd03bbc9870bac33.tar.gz
freebsd-ports-gnome-b18c054e8fb993436694a71cbd03bbc9870bac33.tar.zst
freebsd-ports-gnome-b18c054e8fb993436694a71cbd03bbc9870bac33.zip
Workaround to prevent coredump in stdio cleanup() on exit() when signal 15
arrived
Diffstat (limited to 'security')
-rw-r--r--security/drweb-sendmail/files/patch-ac13
1 files changed, 11 insertions, 2 deletions
diff --git a/security/drweb-sendmail/files/patch-ac b/security/drweb-sendmail/files/patch-ac
index d14206fe9992..4f34c32528c7 100644
--- a/security/drweb-sendmail/files/patch-ac
+++ b/security/drweb-sendmail/files/patch-ac
@@ -1,5 +1,14 @@
---- dwf_main.c.bak Mon Jul 30 05:14:43 2001
-+++ dwf_main.c Sat Aug 25 18:08:18 2001
+--- dwf_main.c.orig Mon Jul 30 05:14:43 2001
++++ dwf_main.c Sat Aug 25 19:44:40 2001
+@@ -199,7 +199,7 @@
+ dprintLib("Results: daemon return code %#x (%s)\n", retcode, getDaemonCode( retcode ) );
+ }
+ }
+- return retcode;
++ _exit(retcode); /* due to core dump in stdio cleanup() after signal */
+ }
+
+ /* ----------------------------------------------------------------------- */
@@ -251,7 +251,7 @@
wprintLib( "can not change directory to root" );
return -1;