summaryrefslogtreecommitdiff
path: root/mail/smtpd/files/patch-ab
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2012-10-25 22:26:24 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2012-10-25 22:26:24 +0000
commite50718976d0ce40887de9ce89deff8bdaad14ab9 (patch)
treeba3ff7a79f3c522e70eb21e529aa76ed52549c6b /mail/smtpd/files/patch-ab
parentUpdate MASTER_SITES (diff)
2012-10-20 misc/voltcraft304: No more public distfiles
2012-10-20 misc/thailocale: No more public distfiles 2012-10-20 misc/flyway: No more public distfiles 2012-10-20 mail/zabit: No more public distfiles 2012-10-20 mail/wbl: No more public distfiles 2012-10-20 mail/smtpd: No more public distfiles 2012-10-20 mail/bulk_mailer: No more public distfiles Feature safe: yes
Notes
Notes: svn path=/head/; revision=306405
Diffstat (limited to 'mail/smtpd/files/patch-ab')
-rw-r--r--mail/smtpd/files/patch-ab36
1 files changed, 0 insertions, 36 deletions
diff --git a/mail/smtpd/files/patch-ab b/mail/smtpd/files/patch-ab
deleted file mode 100644
index 3dec54b1ea7b..000000000000
--- a/mail/smtpd/files/patch-ab
+++ /dev/null
@@ -1,36 +0,0 @@
---- smtpfwdd.c.org Wed Jun 17 21:21:10 1998
-+++ smtpfwdd.c Sun Dec 30 00:09:19 2001
-@@ -43,12 +43,12 @@
- "Copyright 1996 - Obtuse Systems Corporation - All rights reserved.";
- char *obtuse_rcsid = "$Id: smtpfwdd.c,v 1.35 1997/12/12 04:07:49 beck Exp $";
-
-+#include <sys/types.h>
- #include <stdio.h>
- #include <signal.h>
- #include <dirent.h>
- #include <pwd.h>
- #include <grp.h>
--#include <sys/types.h>
- #include <sys/stat.h>
- #include <sys/wait.h>
- #include <sys/stat.h>
-@@ -636,6 +636,19 @@
- exit(EX_OSERR);
- }
-
-+ /*
-+ * Open /dev/null as stdout and as stderr so sendmail 8.12.1 (and
-+ * above ?) won't complain about missing file descriptors.
-+ */
-+ if (open ("/dev/null", O_WRONLY | O_APPEND) < 0) {
-+ syslog(LOG_ERR, "Couldn't open /dev/null as stdout (%m)");
-+ exit (EX_OSERR);
-+ }
-+ if (open ("/dev/null", O_RDWR | O_APPEND) < 0) {
-+ syslog(LOG_ERR, "Couldn't open /dev/null as stderr (%m)");
-+ exit (EX_OSERR);
-+ }
-+
- fclose(f);
- closelog();
- if (lseek(0, body, SEEK_SET) < 0) {