[BusyBox] which.c does not compile

Steven Scholz steven.scholz at imc-berlin.de
Wed Oct 22 11:31:23 UTC 2003


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,

-- 
Steven Scholz

imc Measurement & Control               imc Meßsysteme GmbH
Voltastr. 5                             Voltastr. 5
13355 Berlin                            13355 Berlin
Germany                                 Deutschland
fon: +49 30 467090-0                    Tel: 030 / 467090-0
fax: +49 30 4631576                     fax: 030 / 4631576





More information about the busybox mailing list