[Cmake-commits] [cmake-commits] hoffman committed cmListCommand.cxx 1.23 1.24

cmake-commits at cmake.org cmake-commits at cmake.org
Tue May 20 12:15:42 EDT 2008


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

Modified Files:
	cmListCommand.cxx 
Log Message:
BUG: fix failing test 


Index: cmListCommand.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmListCommand.cxx,v
retrieving revision 1.23
retrieving revision 1.24
diff -C 2 -d -r1.23 -r1.24
*** cmListCommand.cxx	20 May 2008 15:30:30 -0000	1.23
--- cmListCommand.cxx	20 May 2008 16:15:40 -0000	1.24
***************
*** 260,268 ****
    this->GetListString(listString, listName.c_str());
    size_t cc;
-   const char* sep = "";
    for ( cc = 2; cc < args.size(); ++ cc )
      {
!     listString += sep;
!     sep = ";";
      listString += args[cc];
      }
--- 260,269 ----
    this->GetListString(listString, listName.c_str());
    size_t cc;
    for ( cc = 2; cc < args.size(); ++ cc )
      {
!     if(listString.size())
!       {
!       listString += ";";
!       }
      listString += args[cc];
      }



More information about the Cmake-commits mailing list