[Cmake-commits] [cmake-commits] hoffman committed SystemTools.cxx 1.222 1.222.2.1 SystemTools.hxx.in 1.72 1.72.2.1

cmake-commits at cmake.org cmake-commits at cmake.org
Sun Mar 30 09:09:53 EDT 2008


Update of /cvsroot/CMake/CMake/Source/kwsys
In directory public:/mounts/ram/cvs-serv4308/Source/kwsys

Modified Files:
      Tag: CMake-2-6
	SystemTools.cxx SystemTools.hxx.in 
Log Message:
ENH: merge from main tree


Index: SystemTools.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/kwsys/SystemTools.cxx,v
retrieving revision 1.222
retrieving revision 1.222.2.1
diff -C 2 -d -r1.222 -r1.222.2.1
*** SystemTools.cxx	21 Jan 2008 13:01:04 -0000	1.222
--- SystemTools.cxx	30 Mar 2008 13:09:49 -0000	1.222.2.1
***************
*** 2435,2438 ****
--- 2435,2445 ----
  }
  
+ kwsys_stl::string SystemTools::GetRealPath(const char* path)
+ {
+   kwsys_stl::string ret;
+   Realpath(path, ret);
+   return ret;
+ }
+ 
  bool SystemTools::FileIsDirectory(const char* name)
  {

Index: SystemTools.hxx.in
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/kwsys/SystemTools.hxx.in,v
retrieving revision 1.72
retrieving revision 1.72.2.1
diff -C 2 -d -r1.72 -r1.72.2.1
*** SystemTools.hxx.in	31 Jan 2008 13:21:35 -0000	1.72
--- SystemTools.hxx.in	30 Mar 2008 13:09:50 -0000	1.72.2.1
***************
*** 351,354 ****
--- 351,359 ----
                                              const char* in_base);
  
+   /** 
+    * Get the real path for a given path, removing all symlinks.
+    */
+   static kwsys_stl::string GetRealPath(const char* path);
+ 
    /**
     * Split a path name into its root component and the rest of the



More information about the Cmake-commits mailing list