=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/make/main.c,v retrieving revision 1.34 retrieving revision 1.35 diff -c -r1.34 -r1.35 *** src/usr.bin/make/main.c 2000/06/17 14:40:29 1.34 --- src/usr.bin/make/main.c 2000/06/23 16:15:49 1.35 *************** *** 1,4 **** ! /* $OpenBSD: main.c,v 1.34 2000/06/17 14:40:29 espie Exp $ */ /* $NetBSD: main.c,v 1.34 1997/03/24 20:56:36 gwr Exp $ */ /* --- 1,4 ---- ! /* $OpenBSD: main.c,v 1.35 2000/06/23 16:15:49 espie Exp $ */ /* $NetBSD: main.c,v 1.34 1997/03/24 20:56:36 gwr Exp $ */ /* *************** *** 49,55 **** #if 0 static char sccsid[] = "@(#)main.c 8.3 (Berkeley) 3/19/94"; #else ! static char rcsid[] = "$OpenBSD: main.c,v 1.34 2000/06/17 14:40:29 espie Exp $"; #endif #endif /* not lint */ --- 49,55 ---- #if 0 static char sccsid[] = "@(#)main.c 8.3 (Berkeley) 3/19/94"; #else ! static char rcsid[] = "$OpenBSD: main.c,v 1.35 2000/06/23 16:15:49 espie Exp $"; #endif #endif /* not lint */ *************** *** 674,681 **** if (!Lst_IsEmpty(&create)) { LstNode ln; ! for (ln = Lst_First(&create); ln != NULL; ! ln = Lst_Succ(ln)) { char *name = (char *)Lst_Datum(ln); Var_Append(".TARGETS", name, VAR_GLOBAL); --- 674,680 ---- if (!Lst_IsEmpty(&create)) { LstNode ln; ! for (ln = Lst_First(&create); ln != NULL; ln = Lst_Adv(ln)) { char *name = (char *)Lst_Datum(ln); Var_Append(".TARGETS", name, VAR_GLOBAL); *************** *** 791,798 **** if (printVars) { LstNode ln; ! for (ln = Lst_First(&variables); ln != NULL; ! ln = Lst_Succ(ln)) { char *value = Var_Value((char *)Lst_Datum(ln), VAR_GLOBAL); --- 790,796 ---- if (printVars) { LstNode ln; ! for (ln = Lst_First(&variables); ln != NULL; ln = Lst_Adv(ln)) { char *value = Var_Value((char *)Lst_Datum(ln), VAR_GLOBAL);