about summary refs log tree commit diff
path: root/Src/glob.c
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2011-01-10 18:24:17 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2011-01-10 18:24:17 +0000
commitdfc26195c916d54163a3f0dd2eb159db2d974569 (patch)
tree641d3f6854623e606edc8938ef296aade5c2b0e9 /Src/glob.c
parentc34ad5cce2c4f222ebcaa14fb9bce68d49db1992 (diff)
downloadzsh-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.c2
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;