svn commit: trunk/busybox/findutils

vda at busybox.net vda at busybox.net
Wed Jan 3 03:16:00 UTC 2007


Author: vda
Date: 2007-01-02 19:15:58 -0800 (Tue, 02 Jan 2007)
New Revision: 17142

Log:
find: fix misplaced #else (fix by Harald Kuthe <trhoudini at hotmail.com>)


Modified:
   trunk/busybox/findutils/find.c


Changeset:
Modified: trunk/busybox/findutils/find.c
===================================================================
--- trunk/busybox/findutils/find.c	2007-01-03 02:58:54 UTC (rev 17141)
+++ trunk/busybox/findutils/find.c	2007-01-03 03:15:58 UTC (rev 17142)
@@ -551,14 +551,15 @@
 				for (i = 1; i < firstopt; i++) {
 					/* not xstat(): shouldn't bomb out on
 					 * "find not_exist exist -xdev" */
-					if (stat(argv[i], &stbuf)) stbuf.st_dev = -1L;
+					if (stat(argv[i], &stbuf))
+						stbuf.st_dev = -1L;
 					xdev_dev[i-1] = stbuf.st_dev;
 				}
 			}
 			argp[0] = "-a";
 		}
+#endif
 		argp++;
-#endif
 	}
 
 	actions = parse_params(&argv[firstopt]);




More information about the busybox-cvs mailing list