ash: fix handling of Unicode chars in redirects. Fixes bug 585
No binary (build failed)
—
(log yok)
| @@ -5817,7 +5817,7 @@ argstr(char *p, int flag, struct strlist *var_str_list) | |
| }; | |
| const char *reject = spclchars; | |
| int c; | |
| - | int quotes = flag & (EXP_FULL | EXP_CASE); /* do CTLESC */ |
| + | int quotes = flag & (EXP_FULL | EXP_CASE | EXP_REDIR); /* do CTLESC */ |
| int breakall = flag & EXP_WORD; | |
| int inquotes; | |
| size_t length; | |