svn commit: trunk/busybox/findutils

vda at busybox.net vda at busybox.net
Tue Oct 31 23:39:37 UTC 2006


Author: vda
Date: 2006-10-31 15:39:37 -0800 (Tue, 31 Oct 2006)
New Revision: 16482

Log:
find: -type T was actually meaning ! -type T!
With this fix, "make mrproper" works correctly


Modified:
   trunk/busybox/findutils/find.c


Changeset:
Modified: trunk/busybox/findutils/find.c
===================================================================
--- trunk/busybox/findutils/find.c	2006-10-31 23:03:09 UTC (rev 16481)
+++ trunk/busybox/findutils/find.c	2006-10-31 23:39:37 UTC (rev 16482)
@@ -143,7 +143,7 @@
 #if ENABLE_FEATURE_FIND_TYPE
 SFUNC(type)
 {
-	return !((statbuf->st_mode & S_IFMT) == ap->type_mask);
+	return ((statbuf->st_mode & S_IFMT) == ap->type_mask);
 }
 #endif
 #if ENABLE_FEATURE_FIND_PERM




More information about the busybox-cvs mailing list