FreeBSD Bugzilla – Attachment 19976 Details for
Bug 35363
Bug in Sendmail Milter causes milter daemons to fail
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.85 KB, created by
Scot W. Hetzel
on 2002-02-27 00:30:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Scot W. Hetzel
Created:
2002-02-27 00:30:01 UTC
Size:
1.85 KB
patch
obsolete
>Index: Makefile >=================================================================== >RCS file: /home/ncvs/ports/mail/sendmail/Makefile,v >retrieving revision 1.37 >diff -u -r1.37 Makefile >--- Makefile 17 Feb 2002 20:22:22 -0000 1.37 >+++ Makefile 26 Feb 2002 23:48:53 -0000 >@@ -7,7 +7,7 @@ > > PORTNAME= sendmail > PORTVERSION= 8.12.2 >-PORTREVISION= 2 >+PORTREVISION= 3 > CATEGORIES= mail ipv6 > MASTER_SITES= ftp://ftp.sendmail.org/pub/sendmail/ \ > ${MASTER_SITE_RINGSERVER:S,%SUBDIR%,net/mail/sendmail/&,} >Index: files/patch-sendmail::milter.c >=================================================================== >RCS file: files/patch-sendmail::milter.c >diff -N files/patch-sendmail::milter.c >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ files/patch-sendmail::milter.c 26 Feb 2002 23:48:39 -0000 >@@ -0,0 +1,39 @@ >+Sendmail 8.12.x >+ >+The MTA may erroneously detect a communication failure with libmilter >+(EINTR in select(2)). [ http://www.sendmail.org/~ca/email/sm-812.html ] >+ >+Index: milter.c >+=================================================================== >+RCS file: /cvs/sendmail/milter.c,v >+retrieving revision 8.187 >+retrieving revision 8.188 >+diff -u -r8.187 -r8.188 >+--- sendmail/milter.c 2002/01/19 00:48:57 8.187 >++++ sendmail/milter.c 2002/01/21 04:07:02 8.188 >+@@ -139,14 +139,17 @@ >+ return NULL; \ >+ } \ >+ \ >+- FD_ZERO(&fds); \ >+- SM_FD_SET(m->mf_sock, &fds); \ >+- tv.tv_sec = (secs); \ >+- tv.tv_usec = 0; \ >+- ret = select(m->mf_sock + 1, \ >+- (write) ? NULL : &fds, \ >+- (write) ? &fds : NULL, \ >+- NULL, &tv); \ >++ do \ >++ { \ >++ FD_ZERO(&fds); \ >++ SM_FD_SET(m->mf_sock, &fds); \ >++ tv.tv_sec = (secs); \ >++ tv.tv_usec = 0; \ >++ ret = select(m->mf_sock + 1, \ >++ (write) ? NULL : &fds, \ >++ (write) ? &fds : NULL, \ >++ NULL, &tv); \ >++ } while (ret < 0 && errno == EINTR); \ >+ \ >+ switch (ret) \ >+ { \ >gshapiro@FreeBSD.org
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 35363
: 19976