From dfc26195c916d54163a3f0dd2eb159db2d974569 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Mon, 10 Jan 2011 18:24:17 +0000 Subject: 28617: NO_EXEC option was doing too much work in parameter subscripting, parameter assignment, and globbing --- Src/glob.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Src/glob.c') 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; -- cgit 1.4.1