diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2005-04-07 17:03:47 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2005-04-07 17:03:47 (GMT) |
commit | fadff337910f1c6faf5a2e36afe54b6ea1aee0e8 (patch) | |
tree | 44f592b1d166a27ef84edda7035f5042bf75cb27 /Source/kwsys/SystemTools.hxx.in | |
parent | a1d7482548641d6695a1470c9d276288aec058a5 (diff) | |
download | CMake-fadff337910f1c6faf5a2e36afe54b6ea1aee0e8.zip CMake-fadff337910f1c6faf5a2e36afe54b6ea1aee0e8.tar.gz CMake-fadff337910f1c6faf5a2e36afe54b6ea1aee0e8.tar.bz2 |
BUG: fix for bug 1717 incorrect path sent to dart server
Diffstat (limited to 'Source/kwsys/SystemTools.hxx.in')
-rw-r--r-- | Source/kwsys/SystemTools.hxx.in | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/kwsys/SystemTools.hxx.in b/Source/kwsys/SystemTools.hxx.in index 0a1d6db..eec2617 100644 --- a/Source/kwsys/SystemTools.hxx.in +++ b/Source/kwsys/SystemTools.hxx.in @@ -242,6 +242,14 @@ public: static const char* GetExecutableExtension(); /** + * Given a path that exists on a windows machine, return the + * actuall case of the path as it was created. If the file + * does not exist path is returned unchanged. This does nothing + * on unix but return path. + */ + static kwsys_stl::string GetActualCaseForPath(const char* path); + + /** * Given the path to a program executable, get the directory part of * the path with the file stripped off. If there is no directory * part, the empty string is returned. |