From: Denys Vlasenko Date: Sat, 29 Aug 2009 18:24:12 +0000 (+0200) Subject: ash: fix handling of Unicode chars in redirects. Fixes bug 585 X-Git-Tag: 1_16_0~534 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c8334a40c9345d78e3a4e83cd94bff403d4ade74;p=oweals%2Fbusybox.git ash: fix handling of Unicode chars in redirects. Fixes bug 585 Signed-off-by: Denys Vlasenko --- diff --git a/shell/ash.c b/shell/ash.c index f9c89f13f..1690c469b 100644 --- a/shell/ash.c +++ b/shell/ash.c @@ -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;