- Apply Patch for shared memory

http://www.sendmail.org/releases/8.13.7.html#ERRATA
This commit is contained in:
Dirk Meyer 2006-06-15 04:37:19 +00:00
parent e436bc7ed6
commit ee605b40b4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=165488
2 changed files with 19 additions and 0 deletions

View file

@ -7,6 +7,7 @@
PORTNAME= sendmail
PORTVERSION= 8.13.7
PORTREVISION= 1
CATEGORIES= mail ipv6
MASTER_SITES= ftp://ftp.sendmail.org/pub/sendmail/ \
${MASTER_SITE_RINGSERVER:S,%SUBDIR%,net/mail/sendmail/&,}

View file

@ -0,0 +1,18 @@
Index: queue.c
===================================================================
RCS file: /cvs/sendmail/queue.c,v
retrieving revision 8.954
retrieving revision 8.954.2.2
diff -u -r8.954 -r8.954.2.2
--- sendmail/queue.c 22 Apr 2006 01:07:00 -0000 8.954
+++ sendmail/queue.c 14 Jun 2006 21:50:56 -0000 8.954.2.2
@@ -6695,8 +6695,7 @@
static time_t nextupdate = 0;
#if SM_CONF_SHM
- /* only the daemon updates this structure */
- if (ShmId == SM_SHM_NO_ID || DaemonPid != CurrentPid)
+ if (ShmId == SM_SHM_NO_ID && DaemonPid != CurrentPid)
return;
#endif /* SM_CONF_SHM */
now = curtime();