OSDN Git Service
(root)
/
android-x86
/
external-busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
999e442
)
ash: fix mishandling of bash-style redirects
author
Chris Metcalf
<cmetcalf@tilera.com>
Fri, 8 Jan 2010 12:18:06 +0000
(13:18 +0100)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Fri, 8 Jan 2010 12:18:06 +0000
(13:18 +0100)
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
shell/ash.c
patch
|
blob
|
history
diff --git
a/shell/ash.c
b/shell/ash.c
index
8d7c4ca
..
2c1779f
100644
(file)
--- a/
shell/ash.c
+++ b/
shell/ash.c
@@
-5111,7
+5111,7
@@
redirect(union node *redir, int flags)
do {
sv_pos++;
#if ENABLE_ASH_BASH_COMPAT
- if (
redir
->nfile.type == NTO2)
+ if (
tmp
->nfile.type == NTO2)
sv_pos++;
#endif
tmp = tmp->nfile.next;