IDA - Sendmail 5.61 - Missings flags arg. to dbm_store
Rob McMahon
cudcv at warwick.ac.uk
Sun Mar 26 01:52:52 AEST 1989
The IDA patches (Revision 1.2.5) are missing the `flags' argument to
`dbm_store'. Sendmail 5.61 as patched by these needs the following changes:
RCS file: alias.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -c -r1.1 -r1.2
*** /tmp/,RCSt1a08355 Sat Mar 25 15:51:24 1989
--- /tmp/,RCSt2a08355 Sat Mar 25 15:51:25 1989
***************
*** 532,538 ****
content.dsize = rhssize;
content.dptr = rhs;
# ifdef NDBM
! (void) dbm_store(AliasDbm, key, content);
# else NDBM
store(key, content);
# endif NDBM
--- 532,538 ----
content.dsize = rhssize;
content.dptr = rhs;
# ifdef NDBM
! (void) dbm_store(AliasDbm, key, content, DBM_REPLACE);
# else NDBM
store(key, content);
# endif NDBM
***************
*** 560,566 ****
key.dsize = 2;
key.dptr = "@";
# ifdef NDBM
! (void) dbm_store(AliasDbm, key, key);
# else NDBM
store(key, key);
# endif NDBM
--- 560,566 ----
key.dsize = 2;
key.dptr = "@";
# ifdef NDBM
! (void) dbm_store(AliasDbm, key, key, DBM_INSERT);
# else NDBM
store(key, key);
# endif NDBM
Rob
--
UUCP: ...!mcvax!ukc!warwick!cudcv PHONE: +44 203 523037
JANET: cudcv at uk.ac.warwick ARPA: cudcv at warwick.ac.uk
Rob McMahon, Computing Services, Warwick University, Coventry CV4 7AL, England
More information about the Comp.bugs.4bsd.ucb-fixes
mailing list