diff options
Diffstat (limited to 'bin/ksh/eval.c')
| -rw-r--r-- | bin/ksh/eval.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ksh/eval.c b/bin/ksh/eval.c index 8508300fc09..56917f378b6 100644 --- a/bin/ksh/eval.c +++ b/bin/ksh/eval.c @@ -1,4 +1,4 @@ -/* $OpenBSD: eval.c,v 1.6 1998/10/29 04:09:20 millert Exp $ */ +/* $OpenBSD: eval.c,v 1.7 1999/01/08 20:24:58 millert Exp $ */ /* * Expansion - quoting, separation, substitution, globbing @@ -719,7 +719,7 @@ varsub(xp, sp, word, stypep, slenp) if (vp->flag & (ISSET|ARRAY)) zero_ok = 1; for (; vp; vp = vp->u.array) - if (vp->flag * ISSET) { + if (vp->flag & ISSET) { max = vp->index + 1; n++; } |
