Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/gnu/dist/sendmail/sendmail Pull up revision 1.5 (reques...
details: https://anonhg.NetBSD.org/src/rev/9efb4c8b8983
branches: netbsd-1-5
changeset: 490798:9efb4c8b8983
user: he <he%NetBSD.org@localhost>
date: Fri Mar 09 17:50:27 2001 +0000
description:
Pull up revision 1.5 (requested by itojun):
Upgrade to sendmail 8.11.3.
diffstat:
gnu/dist/sendmail/sendmail/stab.c | 12 +++++++-----
1 files changed, 7 insertions(+), 5 deletions(-)
diffs (53 lines):
diff -r 5d63131fb172 -r 9efb4c8b8983 gnu/dist/sendmail/sendmail/stab.c
--- a/gnu/dist/sendmail/sendmail/stab.c Fri Mar 09 17:50:25 2001 +0000
+++ b/gnu/dist/sendmail/sendmail/stab.c Fri Mar 09 17:50:27 2001 +0000
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1998, 1999 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 1998-2000 Sendmail, Inc. and its suppliers.
* All rights reserved.
* Copyright (c) 1983, 1995-1997 Eric P. Allman. All rights reserved.
* Copyright (c) 1988, 1993
@@ -12,7 +12,7 @@
*/
#ifndef lint
-static char id[] = "@(#)Id: stab.c,v 8.40.16.2 2000/06/05 21:46:59 gshapiro Exp";
+static char id[] = "@(#)Id: stab.c,v 8.40.16.3 2000/10/09 02:46:12 gshapiro Exp";
#endif /* ! lint */
#include <sendmail.h>
@@ -268,6 +268,7 @@
if (e == NULL)
return;
+ class = bitidx(class);
for (shead = SymTab; shead < &SymTab[STABSIZE]; shead++)
{
for (s = *shead; s != NULL; s = s->s_next)
@@ -276,7 +277,7 @@
char *p;
if (s->s_type == ST_CLASS &&
- bitnset(class & 0xff, s->s_class) &&
+ bitnset(class, s->s_class) &&
(m = macid(s->s_name, NULL)) != '\0' &&
(p = macvalue(m, e)) != NULL)
{
@@ -326,13 +327,14 @@
register STAB **shead;
register STAB *s;
- dst = ((unsigned int)dst) & 0xff;
+ src = bitidx(src);
+ dst = bitidx(dst);
for (shead = SymTab; shead < &SymTab[STABSIZE]; shead++)
{
for (s = *shead; s != NULL; s = s->s_next)
{
if (s->s_type == ST_CLASS &&
- bitnset(src & 0xff, s->s_class))
+ bitnset(src, s->s_class))
setbitn(dst, s->s_class);
}
}
Home |
Main Index |
Thread Index |
Old Index