summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/Glob.hxx.in
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2009-09-14 17:45:40 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2009-09-14 17:45:40 (GMT)
commitc83591e81876505396a6a46cee39e32d5d289f4c (patch)
tree4e35b8696e04057c3e04f49511d4b9c130836eff /Source/kwsys/Glob.hxx.in
parent14715ce8137ffdcefbb9b23418c19aa5a1ed0407 (diff)
downloadCMake-c83591e81876505396a6a46cee39e32d5d289f4c.zip
CMake-c83591e81876505396a6a46cee39e32d5d289f4c.tar.gz
CMake-c83591e81876505396a6a46cee39e32d5d289f4c.tar.bz2
Fix for Bug #9190, -U did not work on case insensitive file systems because of call to glob convert to regex that expected to work with files.
Diffstat (limited to 'Source/kwsys/Glob.hxx.in')
-rw-r--r--Source/kwsys/Glob.hxx.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/kwsys/Glob.hxx.in b/Source/kwsys/Glob.hxx.in
index fb4eac6..638f458 100644
--- a/Source/kwsys/Glob.hxx.in
+++ b/Source/kwsys/Glob.hxx.in
@@ -79,7 +79,8 @@ public:
whole strings, but may be disabled to support concatenating
expressions more easily (regex1|regex2|etc). */
static kwsys_stl::string PatternToRegex(const kwsys_stl::string& pattern,
- bool require_whole_string = true);
+ bool require_whole_string = true,
+ bool preserve_case = false);
protected:
//! Process directory