From 474e26e95127cb3118cc06331b06a7002ab84e90 Mon Sep 17 00:00:00 2001 From: David Rose Date: Fri, 16 Nov 2012 02:22:20 +0000 Subject: [PATCH] fix set_case_sensitive() and match_files() --- dtool/src/dtoolutil/globPattern.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dtool/src/dtoolutil/globPattern.cxx b/dtool/src/dtoolutil/globPattern.cxx index 4ff6214790..27e04d3819 100644 --- a/dtool/src/dtoolutil/globPattern.cxx +++ b/dtool/src/dtoolutil/globPattern.cxx @@ -115,6 +115,7 @@ match_files(vector_string &results, const Filename &cwd) const { } GlobPattern glob(pattern); + glob.set_case_sensitive(_case_sensitive); return glob.r_match_files(prefix, suffix, results, cwd); } @@ -167,6 +168,7 @@ r_match_files(const Filename &prefix, const string &suffix, } GlobPattern next_glob(next_pattern); + next_glob.set_case_sensitive(_case_sensitive); if (!has_glob_characters()) { // If there are no special characters in the pattern, it's a