[Cmake-commits] [cmake-commits] hoffman committed cmFindCommon.cxx 1.4 1.5

cmake-commits at cmake.org cmake-commits at cmake.org
Thu Oct 2 09:18:49 EDT 2008


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

Modified Files:
	cmFindCommon.cxx 
Log Message:
STYLE: fix line length issues


Index: cmFindCommon.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmFindCommon.cxx,v
retrieving revision 1.4
retrieving revision 1.5
diff -C 2 -d -r1.4 -r1.5
*** cmFindCommon.cxx	9 Jun 2008 19:08:59 -0000	1.4
--- cmFindCommon.cxx	2 Oct 2008 13:18:47 -0000	1.5
***************
*** 373,380 ****
  void cmFindCommon::AddEnvPath(const char* variable)
  {
    // Get a path from the environment.
    std::vector<std::string> tmp;
    cmSystemTools::GetPath(tmp, variable);
! 
    // Relative paths are interpreted with respect to the current
    // working directory.
--- 373,388 ----
  void cmFindCommon::AddEnvPath(const char* variable)
  {
+   if(variable)
+     {
+     std::cerr << variable << "\n";
+     }
    // Get a path from the environment.
    std::vector<std::string> tmp;
    cmSystemTools::GetPath(tmp, variable);
!   for(std::vector<std::string>::iterator i = tmp.begin();
!       i != tmp.end(); ++i)
!     {
!     std::cerr << i->c_str() << "\n";
!     }
    // Relative paths are interpreted with respect to the current
    // working directory.



More information about the Cmake-commits mailing list