[BusyBox 0001301]: Patch for find.c with misplacing MARCO of ENABLE_FEATURE_FIND_SIZE & ENABLE_FEATURE_FIND_PRUNE

bugs at busybox.net bugs at busybox.net
Mon Feb 11 16:32:52 UTC 2008


The following issue has been CLOSED 
====================================================================== 
http://busybox.net/bugs/view.php?id=1301 
====================================================================== 
Reported By:                rockeychu
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   1301
Category:                   Documentation
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             04-04-2007 18:35 PDT
Last Modified:              02-11-2008 08:32 PST
====================================================================== 
Summary:                    Patch for find.c with misplacing MARCO of
ENABLE_FEATURE_FIND_SIZE & ENABLE_FEATURE_FIND_PRUNE
Description: 
Patch as following:

Index: findutils/find.c
===================================================================
--- findutils/find.c    (revision 18329)
+++ findutils/find.c    (working copy)
@@ -260,7 +260,7 @@
 }
 #endif

-#if ENABLE_FEATURE_FIND_SIZE
+#if ENABLE_FEATURE_FIND_PRUNE
 /*
  * -prune: if -depth is not given, return true and do not descend
  * current dir; if -depth is given, return false with no effect.
@@ -273,7 +273,7 @@
 }
 #endif

-#if ENABLE_FEATURE_FIND_PRUNE
+#if ENABLE_FEATURE_FIND_SIZE
 ACTF(size)
 {
        return statbuf->st_size == ap->size;

====================================================================== 

---------------------------------------------------------------------- 
 bernhardf - 04-05-07 02:43  
---------------------------------------------------------------------- 
Your patch was incomplete, unfortunately.
Should be fixed in r18332, please confirm.

Thanks for the report!
cheers, 

---------------------------------------------------------------------- 
 vda - 02-11-08 08:32  
---------------------------------------------------------------------- 
No response from reporter. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
04-04-07 18:35  rockeychu      New Issue                                    
04-04-07 18:35  rockeychu      Status                   new => assigned     
04-04-07 18:35  rockeychu      Assigned To               => BusyBox         
04-05-07 02:43  bernhardf      Note Added: 0002295                          
04-05-07 02:43  bernhardf      Status                   assigned => feedback
02-11-08 08:32  vda            Status                   feedback => closed  
02-11-08 08:32  vda            Note Added: 0003924                          
======================================================================




More information about the busybox-cvs mailing list