diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-03-29 10:30:50 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-03-29 10:30:50 +0000 |
commit | 3e816c1252cc55e3763f946622129d31ea1f0f20 (patch) | |
tree | 5031fd816b1df09eaa897530a37ce814bba95011 /findutils/grep.c | |
parent | 3d43edb28c80ee9cb54335f593d42d5d0471e15a (diff) | |
download | busybox-w32-3e816c1252cc55e3763f946622129d31ea1f0f20.tar.gz busybox-w32-3e816c1252cc55e3763f946622129d31ea1f0f20.tar.bz2 busybox-w32-3e816c1252cc55e3763f946622129d31ea1f0f20.zip |
- fold recurse, depthFirst and dereference params into one param flags.
Minor size improvement (-16b for size, -24b according to bloat-o-meter).
Diffstat (limited to 'findutils/grep.c')
-rw-r--r-- | findutils/grep.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/findutils/grep.c b/findutils/grep.c index f6ea54ed2..43810ea84 100644 --- a/findutils/grep.c +++ b/findutils/grep.c | |||
@@ -336,9 +336,9 @@ static int grep_dir(const char *dir) | |||
336 | { | 336 | { |
337 | int matched = 0; | 337 | int matched = 0; |
338 | recursive_action(dir, | 338 | recursive_action(dir, |
339 | /* recurse= */ 1, | 339 | /* recurse= */ action_recurse | |
340 | /* followLinks= */ 0, | 340 | /* followLinks= */ /* no. 0 | */ |
341 | /* depthFirst= */ 1, | 341 | /* depthFirst= */ action_depthFirst, |
342 | /* fileAction= */ file_action_grep, | 342 | /* fileAction= */ file_action_grep, |
343 | /* dirAction= */ NULL, | 343 | /* dirAction= */ NULL, |
344 | /* userData= */ &matched, | 344 | /* userData= */ &matched, |