[git commit master] ash: fix handling of Unicode chars in redirects. Fixes bug 585

Denys Vlasenko vda.linux at googlemail.com
Sat Aug 29 18:24:12 UTC 2009


commit: http://git.busybox.net/busybox/commit/?id=c8334a40c9345d78e3a4e83cd94bff403d4ade74
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 shell/ash.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/shell/ash.c b/shell/ash.c
index f9c89f1..1690c46 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;
-- 
1.6.3.3



More information about the busybox-cvs mailing list