summaryrefslogtreecommitdiffstats
path: root/SystemTools.hxx.in
diff options
context:
space:
mode:
authorKWSys Upstream <kwrobot@kitware.com>2016-09-14 13:38:50 (GMT)
committerBrad King <brad.king@kitware.com>2016-09-14 13:43:31 (GMT)
commitd28e4467aae44db2b15a785e6f061917798cfcd4 (patch)
tree88e77f24f11299cde115b5693bb916fb60c210d2 /SystemTools.hxx.in
parentb80d6136321fb6c2be019dec4af4b1e486389e2c (diff)
downloadCMake-d28e4467aae44db2b15a785e6f061917798cfcd4.zip
CMake-d28e4467aae44db2b15a785e6f061917798cfcd4.tar.gz
CMake-d28e4467aae44db2b15a785e6f061917798cfcd4.tar.bz2
KWSys 2016-09-14 (c4049689)
Code extracted from: http://public.kitware.com/KWSys.git at commit c4049689d1ff6e3b9f59358023aebb1a7e0fd149 (master). Upstream Shortlog ----------------- Brad King (2): 0504dcaf SystemTools: Fix path comparison in test case c4049689 SystemTools: Teach GetActualCaseForPath to convert as much as possible
Diffstat (limited to 'SystemTools.hxx.in')
-rw-r--r--SystemTools.hxx.in9
1 files changed, 5 insertions, 4 deletions
diff --git a/SystemTools.hxx.in b/SystemTools.hxx.in
index 28ff0b3..5849145 100644
--- a/SystemTools.hxx.in
+++ b/SystemTools.hxx.in
@@ -374,10 +374,11 @@ 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.
+ * Given a path on a Windows machine, return the actual case of
+ * the path as it exists on disk. Path components that do not
+ * exist on disk are returned unchanged. Relative paths are always
+ * returned unchanged. Drive letters are always made upper case.
+ * This does nothing on non-Windows systems but return the path.
*/
static std::string GetActualCaseForPath(const std::string& path);