[Cmake-commits] [cmake-commits] hoffman committed cmake.cxx 1.397 1.398

cmake-commits at cmake.org cmake-commits at cmake.org
Wed Oct 1 16:16:46 EDT 2008


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

Modified Files:
	cmake.cxx 
Log Message:
BUG: fix for 6280, -E time was not sending back return value


Index: cmake.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmake.cxx,v
retrieving revision 1.397
retrieving revision 1.398
diff -C 2 -d -r1.397 -r1.398
*** cmake.cxx	1 Oct 2008 13:04:27 -0000	1.397
--- cmake.cxx	1 Oct 2008 20:16:43 -0000	1.398
***************
*** 1174,1179 ****
        time(&time_start);
        clock_start = clock();
! 
!       cmSystemTools::RunSingleCommand(command.c_str());
  
        clock_finish = clock();
--- 1174,1179 ----
        time(&time_start);
        clock_start = clock();
!       int ret =0;
!       cmSystemTools::RunSingleCommand(command.c_str(), 0, &ret);
  
        clock_finish = clock();
***************
*** 1187,1191 ****
          << " s. (clock)"
          << "\n";
!       return 0;
        }
  
--- 1187,1191 ----
          << " s. (clock)"
          << "\n";
!       return ret;
        }
  



More information about the Cmake-commits mailing list