hush: add <> and () as "safe" arith chars

This commit is contained in:
Denis Vlasenko 2009-04-06 12:09:55 +00:00
parent bfbc971f9f
commit d0b4a8c285

View File

@ -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')