[BusyBox] which.c does not compile

Erik Andersen andersen at codepoet.org
Wed Oct 22 11:37:19 UTC 2003


On Wed Oct 22, 2003 at 01:31:23PM +0200, Steven Scholz wrote:
> Hi there,
> 
> another C++ism prevents me from building busybox:
> 
> --- debianutils/which.c 22 Oct 2003 10:37:04 -0000      1.4
> +++ debianutils/which.c 22 Oct 2003 11:30:09 -0000
> @@ -58,10 +58,10 @@
>         }
> 
>         while(argc-- > 0) {
> +               char *buf;
>                 path_n = path_list;
>                 argv++;
>                 found = 0;
> -               char *buf;
> 
>                 /*
>                  * Check if we were given the full path, first.
> 
> Thanks,

oops.

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--



More information about the busybox mailing list