[BusyBox-cvs] busybox/debianutils which.c,1.7,1.8

Glenn McGrath bug1 at busybox.net
Wed Mar 3 21:12:19 UTC 2004


Update of /var/cvs/busybox/debianutils
In directory nail:/tmp/cvs-serv29519

Modified Files:
	which.c 
Log Message:
Fix a compile error identiefied by Steven Scholz.
Declare variables first for compatability.


Index: which.c
===================================================================
RCS file: /var/cvs/busybox/debianutils/which.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- a/which.c	1 Mar 2004 08:32:49 -0000	1.7
+++ b/which.c	3 Mar 2004 21:12:16 -0000	1.8
@@ -56,8 +56,8 @@
 	while (argc-- > 0) { 
 		char *buf;
 		char *path_n;
-		argv++;
 		char found = 0;
+		argv++;
 
 		/*
 		 * Check if we were given the full path, first.




More information about the busybox-cvs mailing list