diff options
author | Otto Moerbeek <otto@cvs.openbsd.org> | 2004-12-09 11:32:08 +0000 |
---|---|---|
committer | Otto Moerbeek <otto@cvs.openbsd.org> | 2004-12-09 11:32:08 +0000 |
commit | 5dc6ce44b18f8a46b4bd8c52a5079fa8ccdd6b39 (patch) | |
tree | 420b49b534e4a84e84d5914aa403e2cca37d6989 /bin/ksh/eval.c | |
parent | 442d9e55837615511fed4ed97ec9ff817e9e89d3 (diff) |
partially backout prevous commit, it breaks eval of ${a[@]}
Diffstat (limited to 'bin/ksh/eval.c')
-rw-r--r-- | bin/ksh/eval.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/ksh/eval.c b/bin/ksh/eval.c index 26d9cf8b412..9f2a5a51492 100644 --- a/bin/ksh/eval.c +++ b/bin/ksh/eval.c @@ -1,4 +1,4 @@ -/* $OpenBSD: eval.c,v 1.16 2004/12/08 21:23:18 millert Exp $ */ +/* $OpenBSD: eval.c,v 1.17 2004/12/09 11:32:07 otto Exp $ */ /* * Expansion - quoting, separation, substitution, globbing @@ -819,7 +819,6 @@ varsub(xp, sp, word, stypep, slenp) } if (XPsize(wv) == 0) { xp->str = null; - xp->var = global(sp); state = p[1] == '@' ? XNULLSUB : XSUB; XPfree(wv); } else { |