[Cmake-commits] [cmake-commits] hoffman committed cmCTest.cxx 1.357 1.358

cmake-commits at cmake.org cmake-commits at cmake.org
Thu May 7 18:20:44 EDT 2009


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

Modified Files:
	cmCTest.cxx 
Log Message:
BUG: 8898 fix date in ctest nightly time


Index: cmCTest.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmCTest.cxx,v
retrieving revision 1.357
retrieving revision 1.358
diff -C 2 -d -r1.357 -r1.358
*** cmCTest.cxx	5 Mar 2009 20:17:06 -0000	1.357
--- cmCTest.cxx	7 May 2009 22:20:42 -0000	1.358
***************
*** 75,80 ****
    // add todays year day and month to the time in str because
    // curl_getdate no longer assumes the day is today
!   sprintf(buf, "%d%02d%02d %s", lctime->tm_year+1900, lctime->tm_mday,
!           lctime->tm_mon, str.c_str());
    cmCTestLog(this, OUTPUT, "Determine Nightly Start Time" << std::endl
      << "   Specified time: " << str.c_str() << std::endl);
--- 75,83 ----
    // add todays year day and month to the time in str because
    // curl_getdate no longer assumes the day is today
!   sprintf(buf, "%d%02d%02d %s", 
!           lctime->tm_year+1900, 
!           lctime->tm_mon +1,
!           lctime->tm_mday,
!           str.c_str());
    cmCTestLog(this, OUTPUT, "Determine Nightly Start Time" << std::endl
      << "   Specified time: " << str.c_str() << std::endl);



More information about the Cmake-commits mailing list