artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28719d2
)
Ignore SIGPIPE, the delivery of which prevented /usr/sbin/sendmail from
author
jacekm
<jacekm@openbsd.org>
Mon, 2 Aug 2010 11:49:02 +0000
(11:49 +0000)
committer
jacekm
<jacekm@openbsd.org>
Mon, 2 Aug 2010 11:49:02 +0000
(11:49 +0000)
relaying the server diagnostic back to the user (eg. "500 Line too long").
usr.sbin/smtpd/enqueue.c
patch
|
blob
|
history
diff --git
a/usr.sbin/smtpd/enqueue.c
b/usr.sbin/smtpd/enqueue.c
index
d514a96
..
0c84003
100644
(file)
--- a/
usr.sbin/smtpd/enqueue.c
+++ b/
usr.sbin/smtpd/enqueue.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: enqueue.c,v 1.3
7 2010/06/02 19:16:53 chl Exp $
*/
+/* $OpenBSD: enqueue.c,v 1.3
8 2010/08/02 11:49:02 jacekm Exp $
*/
/*
* Copyright (c) 2005 Henning Brauer <henning@bulabula.org>
@@
-188,6
+188,7
@@
enqueue(int argc, char *argv[])
}
signal(SIGALRM, sighdlr);
+ signal(SIGPIPE, SIG_IGN);
alarm(300);
fp = tmpfile();