From 3e816c1252cc55e3763f946622129d31ea1f0f20 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Thu, 29 Mar 2007 10:30:50 +0000 Subject: - fold recurse, depthFirst and dereference params into one param flags. Minor size improvement (-16b for size, -24b according to bloat-o-meter). --- findutils/grep.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'findutils/grep.c') 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) { int matched = 0; recursive_action(dir, - /* recurse= */ 1, - /* followLinks= */ 0, - /* depthFirst= */ 1, + /* recurse= */ action_recurse | + /* followLinks= */ /* no. 0 | */ + /* depthFirst= */ action_depthFirst, /* fileAction= */ file_action_grep, /* dirAction= */ NULL, /* userData= */ &matched, -- cgit v1.2.3