aboutsummaryrefslogtreecommitdiff
path: root/findutils/grep.c
diff options
context:
space:
mode:
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-04-08 10:52:28 +0000
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-04-08 10:52:28 +0000
commit2f52663264c7c37d578e72f532f01b9fd9cd7ebc (patch)
tree98df39594da2e7f1fbe560aec04eeb09426947f0 /findutils/grep.c
parent1b3f1d1383f39b07eac82cafadab811e7a21d96c (diff)
downloadbusybox-w32-2f52663264c7c37d578e72f532f01b9fd9cd7ebc.tar.gz
busybox-w32-2f52663264c7c37d578e72f532f01b9fd9cd7ebc.tar.bz2
busybox-w32-2f52663264c7c37d578e72f532f01b9fd9cd7ebc.zip
find: fix handling of -prune
recursive_actions: uppercase flag constants git-svn-id: svn://busybox.net/trunk/busybox@18362 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'findutils/grep.c')
-rw-r--r--findutils/grep.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/findutils/grep.c b/findutils/grep.c
index 370b753d7..2ca4a3a0a 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= */ action_recurse | 339 /* recurse=yes */ ACTION_RECURSE |
340 /* followLinks= */ /* no. 0 | */ 340 /* followLinks=no */
341 /* depthFirst= */ action_depthFirst, 341 /* depthFirst=yes */ ACTION_DEPTHFIRST,
342 /* fileAction= */ file_action_grep, 342 /* fileAction= */ file_action_grep,
343 /* dirAction= */ NULL, 343 /* dirAction= */ NULL,
344 /* userData= */ &matched, 344 /* userData= */ &matched,