diff options
| author | 1999-01-08 20:24:54 +0000 | |
|---|---|---|
| committer | 1999-01-08 20:24:54 +0000 | |
| commit | 945abdec54affd54b29b2bcb3fd1db9bf1b16b43 (patch) | |
| tree | cb8101e59fccdd03cd81f787fb01404542d705d4 /bin/ksh/eval.c | |
| parent | Don't use the next phone number after the ``|'' if the (diff) | |
| download | wireguard-openbsd-945abdec54affd54b29b2bcb3fd1db9bf1b16b43.tar.xz wireguard-openbsd-945abdec54affd54b29b2bcb3fd1db9bf1b16b43.zip | |
bug fixes from pdksh-unstable-5.2.13.5; some of which we already had.
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++; } |
