diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2011-01-10 18:24:17 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2011-01-10 18:24:17 +0000 |
commit | dfc26195c916d54163a3f0dd2eb159db2d974569 (patch) | |
tree | 641d3f6854623e606edc8938ef296aade5c2b0e9 /Src/glob.c | |
parent | c34ad5cce2c4f222ebcaa14fb9bce68d49db1992 (diff) | |
download | zsh-dfc26195c916d54163a3f0dd2eb159db2d974569.tar.gz zsh-dfc26195c916d54163a3f0dd2eb159db2d974569.tar.xz zsh-dfc26195c916d54163a3f0dd2eb159db2d974569.zip |
28617: NO_EXEC option was doing too much work in
parameter subscripting, parameter assignment, and globbing
Diffstat (limited to 'Src/glob.c')
-rw-r--r-- | Src/glob.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/glob.c b/Src/glob.c index 5f6813589..b788ff38a 100644 --- a/Src/glob.c +++ b/Src/glob.c @@ -1111,7 +1111,7 @@ zglob(LinkList list, LinkNode np, int nountok) struct globdata saved; /* saved glob state */ int nobareglob = !isset(BAREGLOBQUAL); - if (unset(GLOBOPT) || !haswilds(ostr)) { + if (unset(GLOBOPT) || !haswilds(ostr) || unset(EXECOPT)) { if (!nountok) untokenize(ostr); return; |