[Cmake-commits] CMake branch, master, updated. 5cfbdb1f80bf7acbecd927ca584c36022c78a19a
cmake-commits at cmake.org
cmake-commits at cmake.org
Mon Mar 1 12:06:02 EST 2010
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".
The branch, master has been updated
via 5cfbdb1f80bf7acbecd927ca584c36022c78a19a (commit)
from 348f6c4d8cd0945a61c070b5094bc89518cc27e0 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=5cfbdb1f80bf7acbecd927ca584c36022c78a19a
commit 5cfbdb1f80bf7acbecd927ca584c36022c78a19a
Author: Zach Mullen <zach.mullen at kitware.com>
Date: Mon Mar 1 12:05:58 2010 -0500
Close ifstream.
diff --git a/Source/CTest/cmCTestMultiProcessHandler.cxx b/Source/CTest/cmCTestMultiProcessHandler.cxx
index b29e4e3..9d76dd4 100644
--- a/Source/CTest/cmCTestMultiProcessHandler.cxx
+++ b/Source/CTest/cmCTestMultiProcessHandler.cxx
@@ -363,7 +363,11 @@ void cmCTestMultiProcessHandler::ReadCostData()
cmSystemTools::SplitString(line.c_str(), ' ');
// Probably an older version of the file, will be fixed next run
- if(parts.size() < 3) return;
+ if(parts.size() < 3)
+ {
+ fin.close();
+ return;
+ }
std::string name = parts[0];
int prev = atoi(parts[1].c_str());
-----------------------------------------------------------------------
Summary of changes:
Source/CTest/cmCTestMultiProcessHandler.cxx | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list