From cf7d5dbc2dabb2e0207da44ca92dccb30e8fabdb Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Tue, 3 Mar 2015 16:41:44 +0100 Subject: recursive regexp file search. --- libs/pbd/file_utils.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libs/pbd/file_utils.cc') diff --git a/libs/pbd/file_utils.cc b/libs/pbd/file_utils.cc index 9523fdd6bd..a15cd04cd4 100644 --- a/libs/pbd/file_utils.cc +++ b/libs/pbd/file_utils.cc @@ -225,7 +225,8 @@ regexp_filter (const string& str, void *arg) void find_files_matching_regex (vector& result, const Searchpath& paths, - const std::string& regexp) + const std::string& regexp, + bool recurse) { int err; char msg[256]; @@ -250,7 +251,7 @@ find_files_matching_regex (vector& result, find_files_matching_filter (result, paths, regexp_filter, &compiled_pattern, - true, true, false); + true, true, recurse); regfree (&compiled_pattern); } -- cgit v1.2.3