[Cmake-commits] [cmake-commits] hoffman committed cmForEachCommand.cxx 1.31 1.32 cmWhileCommand.cxx 1.16 1.17

cmake-commits at cmake.org cmake-commits at cmake.org
Wed May 13 11:08:31 EDT 2009


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

Modified Files:
	cmForEachCommand.cxx cmWhileCommand.cxx 
Log Message:
BUG: fix for #9014, FATAL_ERROR not ending loops


Index: cmForEachCommand.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmForEachCommand.cxx,v
retrieving revision 1.31
retrieving revision 1.32
diff -C 2 -d -r1.31 -r1.32
*** cmForEachCommand.cxx	17 Mar 2009 19:10:15 -0000	1.31
--- cmForEachCommand.cxx	13 May 2009 15:08:28 -0000	1.32
***************
*** 73,76 ****
--- 73,80 ----
              return true;
              }
+           if(cmSystemTools::GetFatalErrorOccured() )
+             {
+             return true;
+             }
            }
          }

Index: cmWhileCommand.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmWhileCommand.cxx,v
retrieving revision 1.16
retrieving revision 1.17
diff -C 2 -d -r1.16 -r1.17
*** cmWhileCommand.cxx	21 Jan 2009 14:49:00 -0000	1.16
--- cmWhileCommand.cxx	13 May 2009 15:08:29 -0000	1.17
***************
*** 61,64 ****
--- 61,68 ----
              return true;
              }
+           if(cmSystemTools::GetFatalErrorOccured() )
+             {
+             return true;
+             }
            }
          expandedArguments.clear();



More information about the Cmake-commits mailing list