aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-04-05 09:40:12 +0000
committeraldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-04-05 09:40:12 +0000
commit564303e6c1e1ba179c9991b681ce99d47c0dc034 (patch)
treedd0bd37baf52e34930c6c9dc717e1116211a1a4e
parent20522c2c938824f6a34ffbe55c4039ca9b7df28b (diff)
downloadbusybox-w32-564303e6c1e1ba179c9991b681ce99d47c0dc034.tar.gz
busybox-w32-564303e6c1e1ba179c9991b681ce99d47c0dc034.tar.bz2
busybox-w32-564303e6c1e1ba179c9991b681ce99d47c0dc034.zip
- size and prune were mixed up
git-svn-id: svn://busybox.net/trunk/busybox@18332 69ca8d6d-28ef-0310-b511-8ec308f3f277
-rw-r--r--findutils/find.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/findutils/find.c b/findutils/find.c
index ff201e520..43120250b 100644
--- a/findutils/find.c
+++ b/findutils/find.c
@@ -260,7 +260,7 @@ ACTF(paren)
260} 260}
261#endif 261#endif
262 262
263#if ENABLE_FEATURE_FIND_SIZE 263#if ENABLE_FEATURE_FIND_PRUNE
264/* 264/*
265 * -prune: if -depth is not given, return true and do not descend 265 * -prune: if -depth is not given, return true and do not descend
266 * current dir; if -depth is given, return false with no effect. 266 * current dir; if -depth is given, return false with no effect.
@@ -273,7 +273,7 @@ ACTF(prune)
273} 273}
274#endif 274#endif
275 275
276#if ENABLE_FEATURE_FIND_PRUNE 276#if ENABLE_FEATURE_FIND_SIZE
277ACTF(size) 277ACTF(size)
278{ 278{
279 return statbuf->st_size == ap->size; 279 return statbuf->st_size == ap->size;
@@ -359,8 +359,8 @@ static action*** parse_params(char **argv)
359 USE_FEATURE_FIND_GROUP( PARM_group ,) 359 USE_FEATURE_FIND_GROUP( PARM_group ,)
360 USE_FEATURE_FIND_DEPTH( PARM_depth ,) 360 USE_FEATURE_FIND_DEPTH( PARM_depth ,)
361 USE_FEATURE_FIND_PAREN( PARM_char_brace,) 361 USE_FEATURE_FIND_PAREN( PARM_char_brace,)
362 USE_FEATURE_FIND_SIZE( PARM_prune ,) 362 USE_FEATURE_FIND_SIZE( PARM_size ,)
363 USE_FEATURE_FIND_PRUNE( PARM_size ,) 363 USE_FEATURE_FIND_PRUNE( PARM_prune ,)
364#if ENABLE_DESKTOP 364#if ENABLE_DESKTOP
365 PARM_and , 365 PARM_and ,
366 PARM_or , 366 PARM_or ,
@@ -386,8 +386,8 @@ static action*** parse_params(char **argv)
386 USE_FEATURE_FIND_GROUP( "-group" ,) 386 USE_FEATURE_FIND_GROUP( "-group" ,)
387 USE_FEATURE_FIND_DEPTH( "-depth" ,) 387 USE_FEATURE_FIND_DEPTH( "-depth" ,)
388 USE_FEATURE_FIND_PAREN( "(" ,) 388 USE_FEATURE_FIND_PAREN( "(" ,)
389 USE_FEATURE_FIND_SIZE( "-prune" ,) 389 USE_FEATURE_FIND_SIZE( "-size" ,)
390 USE_FEATURE_FIND_PRUNE( "-size" ,) 390 USE_FEATURE_FIND_PRUNE( "-prune" ,)
391#if ENABLE_DESKTOP 391#if ENABLE_DESKTOP
392 "-and" , 392 "-and" ,
393 "-or" , 393 "-or" ,