diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2000-07-17 21:48:41 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2000-07-17 21:48:41 +0000 |
commit | c395610d349341795933a0ab2fc464e6135b55a3 (patch) | |
tree | 1a61a826e5f3ed87d3205458d8b808c10dcca42a /usr.bin | |
parent | 9b5e1198125311efa456f571228be324bcc9565d (diff) |
Consistency bug: for substitution should look in the same places other
variable substitution is.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/make/for.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/make/for.c b/usr.bin/make/for.c index 25d5ad95146..11ef0441afd 100644 --- a/usr.bin/make/for.c +++ b/usr.bin/make/for.c @@ -1,4 +1,4 @@ -/* $OpenBSD: for.c,v 1.19 2000/06/23 16:23:26 espie Exp $ */ +/* $OpenBSD: for.c,v 1.20 2000/07/17 21:48:40 espie Exp $ */ /* $NetBSD: for.c,v 1.4 1996/11/06 17:59:05 christos Exp $ */ /* @@ -82,7 +82,7 @@ #if 0 static char sccsid[] = "@(#)for.c 8.1 (Berkeley) 6/6/93"; #else -static char rcsid[] = "$OpenBSD: for.c,v 1.19 2000/06/23 16:23:26 espie Exp $"; +static char rcsid[] = "$OpenBSD: for.c,v 1.20 2000/07/17 21:48:40 espie Exp $"; #endif #endif /* not lint */ @@ -198,7 +198,7 @@ For_Eval(line) arg->var = interval_dup(wrd, endVar); /* Make a list with the remaining words. */ - sub = Var_Subst(ptr, (SymTable *)VAR_GLOBAL, FALSE); + sub = Var_Subst(ptr, NULL, FALSE); if (DEBUG(FOR)) (void)fprintf(stderr, "For: Iterator %s List %s\n", arg->var, sub); |