summaryrefslogtreecommitdiff
path: root/walk.c
diff options
context:
space:
mode:
authortjg <tjg>2001-10-02 09:20:03 +0000
committerToby Goodwin <toby@paccrat.org>2015-05-16 21:23:19 +0100
commit361e9b464d51a935364eb00d6a2a9a3a5e57d868 (patch)
treed88cd1104be20e2abc189ebd4a8d03e3c6cf11af /walk.c
parent8ce5bc05bcf9b263a65eb6e8d6bae0e610a88b16 (diff)
Bug: it's no longer possible to use parentheses to sneak a word that
needs quoting past the "quoting detector", so `fn x { echo $(x.y) }' now works both in the current rc and its descendants.
Diffstat (limited to 'walk.c')
-rw-r--r--walk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/walk.c b/walk.c
index aa838c5..177e56e 100644
--- a/walk.c
+++ b/walk.c
@@ -33,7 +33,7 @@ top: sigchk();
switch (n->type) {
case nArgs: case nBackq: case nConcat: case nCount:
case nFlat: case nLappend: case nRedir: case nVar:
- case nVarsub: case nWord: case nQword:
+ case nVarsub: case nWord:
exec(glob(glom(n)), parent); /* simple command */
break;
case nBody: