Root/package/busybox/patches/251-ash_fix-redir-substitution.patch

1--- a/shell/ash.c
2+++ b/shell/ash.c
3@@ -6846,8 +6846,7 @@ evalvar(char *p, int flags, struct strli
4         patloc = expdest - (char *)stackblock();
5         if (NULL == subevalvar(p, /* varname: */ NULL, patloc, subtype,
6                 startloc, varflags,
7-//TODO: | EXP_REDIR too? All other such places do it too
8- /* quotes: */ flags & (EXP_FULL | EXP_CASE),
9+ /* quotes: */ flags & (EXP_FULL | EXP_CASE | EXP_REDIR),
10                 var_str_list)
11         ) {
12             int amount = expdest - (
13

Archive Download this file



interactive