diff options
author | Bernhard Reutner-Fischer | 2007-04-05 09:40:12 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer | 2007-04-05 09:40:12 +0000 |
commit | 6d79dd66cbeca350366103c8300c0335259e86a3 (patch) | |
tree | dd0bd37baf52e34930c6c9dc717e1116211a1a4e /findutils | |
parent | bdd253e4505643808eb5d30a18a727683aada5e5 (diff) | |
download | busybox-6d79dd66cbeca350366103c8300c0335259e86a3.zip busybox-6d79dd66cbeca350366103c8300c0335259e86a3.tar.gz |
- size and prune were mixed up
Diffstat (limited to 'findutils')
-rw-r--r-- | findutils/find.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/findutils/find.c b/findutils/find.c index ff201e5..4312025 100644 --- a/findutils/find.c +++ b/findutils/find.c @@ -260,7 +260,7 @@ ACTF(paren) } #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 @@ ACTF(prune) } #endif -#if ENABLE_FEATURE_FIND_PRUNE +#if ENABLE_FEATURE_FIND_SIZE ACTF(size) { return statbuf->st_size == ap->size; @@ -359,8 +359,8 @@ static action*** parse_params(char **argv) USE_FEATURE_FIND_GROUP( PARM_group ,) USE_FEATURE_FIND_DEPTH( PARM_depth ,) USE_FEATURE_FIND_PAREN( PARM_char_brace,) - USE_FEATURE_FIND_SIZE( PARM_prune ,) - USE_FEATURE_FIND_PRUNE( PARM_size ,) + USE_FEATURE_FIND_SIZE( PARM_size ,) + USE_FEATURE_FIND_PRUNE( PARM_prune ,) #if ENABLE_DESKTOP PARM_and , PARM_or , @@ -386,8 +386,8 @@ static action*** parse_params(char **argv) USE_FEATURE_FIND_GROUP( "-group" ,) USE_FEATURE_FIND_DEPTH( "-depth" ,) USE_FEATURE_FIND_PAREN( "(" ,) - USE_FEATURE_FIND_SIZE( "-prune" ,) - USE_FEATURE_FIND_PRUNE( "-size" ,) + USE_FEATURE_FIND_SIZE( "-size" ,) + USE_FEATURE_FIND_PRUNE( "-prune" ,) #if ENABLE_DESKTOP "-and" , "-or" , |