[Cmake-commits] CMake branch, master, updated. v2.8.2-288-g3bf1869

KWSys Robot kwrobot at kitware.com
Fri Aug 27 10:20:03 EDT 2010


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".

The branch, master has been updated
       via  3bf1869c93daf131e8040e88f20986cf01bb9779 (commit)
      from  4746365e0312693b754e59f51e692285c046fa89 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=3bf1869c93daf131e8040e88f20986cf01bb9779
commit 3bf1869c93daf131e8040e88f20986cf01bb9779
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Fri Aug 27 10:15:16 2010 -0400
Commit:     Brad King <brad.king at kitware.com>
CommitDate: Fri Aug 27 10:20:02 2010 -0400

    KWSys: Improve SplitPath method documentation
    
    Document explicitly that the first component always exists.  Fix the
    documentation of SplitPathRootComponent to note that home directory
    roots (~/ and ~u/) always have a trailing slash.

diff --git a/Source/kwsys/SystemTools.hxx.in b/Source/kwsys/SystemTools.hxx.in
index ec70320..cf47923 100644
--- a/Source/kwsys/SystemTools.hxx.in
+++ b/Source/kwsys/SystemTools.hxx.in
@@ -372,8 +372,8 @@ public:
    *    "c:/" = Windows full path (can be any drive letter)
    *    "c:"  = Windows drive-letter relative path (can be any drive letter)
    *    "//"  = Network path
-   *    "~"   = Home path for current user
-   *    "~u"  = Home path for user 'u'
+   *    "~/"  = Home path for current user
+   *    "~u/" = Home path for user 'u'
    *    ""    = Relative path
    *
    * A pointer to the rest of the path after the root component is
@@ -385,7 +385,7 @@ public:
 
   /**
    * Split a path name into its basic components.  The first component
-   * is one of the roots returned by SplitPathRootComponent.
+   * always exists and is the root returned by SplitPathRootComponent.
    * The remaining components form the path.  If there is a trailing
    * slash then the last component is the empty string.  The
    * components can be recombined as "c[0]c[1]/c[2]/.../c[n]" to

-----------------------------------------------------------------------

Summary of changes:
 Source/kwsys/SystemTools.hxx.in |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list