diff options
Diffstat (limited to 'usr.bin/make/varmodifiers.c')
-rw-r--r-- | usr.bin/make/varmodifiers.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/make/varmodifiers.c b/usr.bin/make/varmodifiers.c index 17f23325685..37be0e6efc0 100644 --- a/usr.bin/make/varmodifiers.c +++ b/usr.bin/make/varmodifiers.c @@ -1,5 +1,5 @@ /* $OpenPackages$ */ -/* $OpenBSD: varmodifiers.c,v 1.18 2007/07/24 18:58:48 espie Exp $ */ +/* $OpenBSD: varmodifiers.c,v 1.19 2007/07/30 09:51:53 espie Exp $ */ /* $NetBSD: var.c,v 1.18 1997/03/18 19:24:46 christos Exp $ */ /* @@ -542,22 +542,22 @@ do_assign(const char *s, const struct Name *n, void *arg) switch (v->flags) { case VAR_EQUAL: - Var_Seti(n->s, n->e, v->lbuffer, VAR_GLOBAL); + Var_Seti(n->s, n->e, v->lbuffer); break; case VAR_MAY_EQUAL: if (s == NULL) - Var_Seti(n->s, n->e, v->lbuffer, VAR_GLOBAL); + Var_Seti(n->s, n->e, v->lbuffer); break; case VAR_ADD_EQUAL: if (s == NULL) - Var_Seti(n->s, n->e, v->lbuffer, VAR_GLOBAL); + Var_Seti(n->s, n->e, v->lbuffer); else - Var_Appendi(n->s, n->e, v->lbuffer, VAR_GLOBAL); + Var_Appendi(n->s, n->e, v->lbuffer); break; case VAR_BANG_EQUAL: result = Cmd_Exec(v->lbuffer, &msg); if (result != NULL) { - Var_Seti(n->s, n->e, result, VAR_GLOBAL); + Var_Seti(n->s, n->e, result); free(result); } else Error(msg, v->lbuffer); |