[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: Re: [bug] build fails
From: Denys Vlasenko <vda.linux () googlemail ! com>
Date: 2010-07-15 6:19:27
Message-ID: 201007150819.27097.vda.linux () googlemail ! com
[Download RAW message or body]
On Wednesday 14 July 2010 19:54, Cristian Ionescu-Idbohrn wrote:
> 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.
Thanks! Fixed, please try current git.
--
vda
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic