diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-08-29 20:24:12 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-08-29 20:24:12 +0200 |
commit | c8334a40c9345d78e3a4e83cd94bff403d4ade74 (patch) | |
tree | ee5a95c0113c2d13eae79ac05b28da8548727d14 | |
parent | b6c8434896788efa06919dc3ee73e52048805dd0 (diff) | |
download | busybox-w32-c8334a40c9345d78e3a4e83cd94bff403d4ade74.tar.gz busybox-w32-c8334a40c9345d78e3a4e83cd94bff403d4ade74.tar.bz2 busybox-w32-c8334a40c9345d78e3a4e83cd94bff403d4ade74.zip |
ash: fix handling of Unicode chars in redirects. Fixes bug 585
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | shell/ash.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
5817 | }; | 5817 | }; |
5818 | const char *reject = spclchars; | 5818 | const char *reject = spclchars; |
5819 | int c; | 5819 | int c; |
5820 | int quotes = flag & (EXP_FULL | EXP_CASE); /* do CTLESC */ | 5820 | int quotes = flag & (EXP_FULL | EXP_CASE | EXP_REDIR); /* do CTLESC */ |
5821 | int breakall = flag & EXP_WORD; | 5821 | int breakall = flag & EXP_WORD; |
5822 | int inquotes; | 5822 | int inquotes; |
5823 | size_t length; | 5823 | size_t length; |