[Cmake-commits] [cmake-commits] hoffman committed cmGetFilenameComponentCommand.cxx 1.17 1.18

cmake-commits at cmake.org cmake-commits at cmake.org
Thu Jan 29 11:39:05 EST 2009


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

Modified Files:
	cmGetFilenameComponentCommand.cxx 
Log Message:
BUG: fix for #8423


Index: cmGetFilenameComponentCommand.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmGetFilenameComponentCommand.cxx,v
retrieving revision 1.17
retrieving revision 1.18
diff -C 2 -d -r1.17 -r1.18
*** cmGetFilenameComponentCommand.cxx	23 Jan 2008 15:27:59 -0000	1.17
--- cmGetFilenameComponentCommand.cxx	29 Jan 2009 16:39:03 -0000	1.18
***************
*** 92,96 ****
  
      // Collapse the path to its simplest form.
!     result = cmSystemTools::CollapseFullPath(filename.c_str());
      }
    else 
--- 92,97 ----
  
      // Collapse the path to its simplest form.
!     filename = cmSystemTools::CollapseFullPath(filename.c_str());
!     result   = cmSystemTools::GetRealPath(filename.c_str());
      }
    else 



More information about the Cmake-commits mailing list