Deleted Added
full compact
stab.c (98121) stab.c (120256)
1/*
1/*
2 * Copyright (c) 1998-2001 Sendmail, Inc. and its suppliers.
2 * Copyright (c) 1998-2001, 2003 Sendmail, Inc. and its suppliers.
3 * All rights reserved.
4 * Copyright (c) 1983, 1995-1997 Eric P. Allman. All rights reserved.
5 * Copyright (c) 1988, 1993
6 * The Regents of the University of California. All rights reserved.
7 *
8 * By using this file, you agree to the terms and conditions set
9 * forth in the LICENSE file which can be found at the top level of
10 * the sendmail distribution.
11 *
12 */
13
14#include <sendmail.h>
15
3 * All rights reserved.
4 * Copyright (c) 1983, 1995-1997 Eric P. Allman. All rights reserved.
5 * Copyright (c) 1988, 1993
6 * The Regents of the University of California. All rights reserved.
7 *
8 * By using this file, you agree to the terms and conditions set
9 * forth in the LICENSE file which can be found at the top level of
10 * the sendmail distribution.
11 *
12 */
13
14#include <sendmail.h>
15
16SM_RCSID("@(#)$Id: stab.c,v 8.86 2001/12/29 04:27:56 ca Exp $")
16SM_RCSID("@(#)$Id: stab.c,v 8.86.4.1 2003/03/31 17:44:24 ca Exp $")
17
18/*
19** STAB -- manage the symbol table
20**
21** Parameters:
22** name -- the name to be looked up or inserted.
23** type -- the type of symbol.
24** op -- what to do:

--- 249 unchanged lines hidden (view full) ---

274 {
275 for (s = *shead; s != NULL; s = s->s_next)
276 {
277 int m;
278 char *p;
279
280 if (s->s_symtype == ST_CLASS &&
281 bitnset(bitidx(class), s->s_class) &&
17
18/*
19** STAB -- manage the symbol table
20**
21** Parameters:
22** name -- the name to be looked up or inserted.
23** type -- the type of symbol.
24** op -- what to do:

--- 249 unchanged lines hidden (view full) ---

274 {
275 for (s = *shead; s != NULL; s = s->s_next)
276 {
277 int m;
278 char *p;
279
280 if (s->s_symtype == ST_CLASS &&
281 bitnset(bitidx(class), s->s_class) &&
282 (m = macid(s->s_name)) != '\0' &&
282 (m = macid(s->s_name)) != 0 &&
283 (p = macvalue(m, e)) != NULL)
284 {
285 (void) sm_io_fprintf(qfp, SM_TIME_DEFAULT,
286 "$%s%s\n",
287 s->s_name,
288 denlstring(p, true,
289 false));
290 }

--- 179 unchanged lines hidden ---
283 (p = macvalue(m, e)) != NULL)
284 {
285 (void) sm_io_fprintf(qfp, SM_TIME_DEFAULT,
286 "$%s%s\n",
287 s->s_name,
288 denlstring(p, true,
289 false));
290 }

--- 179 unchanged lines hidden ---