projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfbc971
)
hush: add <> and () as "safe" arith chars
author
Denis Vlasenko
<vda.linux@googlemail.com>
Mon, 6 Apr 2009 12:09:55 +0000
(12:09 -0000)
committer
Denis Vlasenko
<vda.linux@googlemail.com>
Mon, 6 Apr 2009 12:09:55 +0000
(12:09 -0000)
shell/hush.c
patch
|
blob
|
history
diff --git
a/shell/hush.c
b/shell/hush.c
index bad2c804437d9a804104c07da70f2c16a89ad24d..3aae7d7c11c36b9da62345c92174e745499d7951 100644
(file)
--- a/
shell/hush.c
+++ b/
shell/hush.c
@@
-1791,7
+1791,7
@@
static int expand_vars_to_list(o_string *output, int n, char *arg, char or_mask)
}
if (isdigit(c))
continue;
- if (strchr(" \t+-*/%_", c) != NULL)
+ if (strchr(" \t+-*/%
<>()
_", c) != NULL)
continue;
c |= 0x20; /* tolower */
if (c >= 'a' && c <= 'z')