shell/hush.c:4346: error: 'i' undeclared (first use in this function)
shell/hush.c:4346: error: (Each undeclared identifier is reported only once
shell/hush.c:4346: error: for each function it appears in.)

Something like:

diff --git a/shell/hush.c b/shell/hush.c
index 8a467be..c01ea73 100644
--- a/shell/hush.c
+++ b/shell/hush.c
@@ -4343,7 +4343,7 @@ static NOINLINE int run_pipe(struct pipe *pi)
                }

 #if ENABLE_FEATURE_SH_STANDALONE
-               i = find_applet_by_name(argv_expanded[0]);
+               int i = find_applet_by_name(argv_expanded[0]);
                if (i >= 0 && APPLET_IS_NOFORK(i)) {
                        rcode = setup_redirects(command, squirrel);
                        if (rcode == 0) {

fixes that.


Cheers,

-- 
Cristian
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to