[bug] build fails
Denys Vlasenko
vda.linux at googlemail.com
Thu Jul 15 06:19:27 UTC 2010
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
More information about the busybox
mailing list