[Cmake-commits] CMake branch, next, updated. v2.8.10.2-2780-ge4df58e
Brad King
brad.king at kitware.com
Tue Apr 16 08:40:50 EDT 2013
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, next has been updated
via e4df58e5a3149a5b285ff6918b2ad9f17f6fda29 (commit)
via ce441fac071698e969a4ec5f067fb9b0f6e60b73 (commit)
from 390fd1df08f3920216bf53f755a694055441659a (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=e4df58e5a3149a5b285ff6918b2ad9f17f6fda29
commit e4df58e5a3149a5b285ff6918b2ad9f17f6fda29
Merge: 390fd1d ce441fa
Author: Brad King <brad.king at kitware.com>
AuthorDate: Tue Apr 16 08:40:47 2013 -0400
Commit: CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Tue Apr 16 08:40:47 2013 -0400
Merge topic 'missing-fclose-in-trycompile' into next
ce441fa try_compile: add missing fclose() to recently added error case
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=ce441fac071698e969a4ec5f067fb9b0f6e60b73
commit ce441fac071698e969a4ec5f067fb9b0f6e60b73
Author: Rolf Eike Beer <eike at sf-mail.de>
AuthorDate: Tue Apr 16 09:15:35 2013 +0200
Commit: Brad King <brad.king at kitware.com>
CommitDate: Tue Apr 16 08:38:33 2013 -0400
try_compile: add missing fclose() to recently added error case
In commit 236133e7 (Handle targets in the LINK_LIBRARIES of try_compile,
2013-02-09) an error return case was added without closing the file in
progress. Add the missing fclose() call.
Spotted by sevenhill.
diff --git a/Source/cmCoreTryCompile.cxx b/Source/cmCoreTryCompile.cxx
index 387f6ed..9f38b25 100644
--- a/Source/cmCoreTryCompile.cxx
+++ b/Source/cmCoreTryCompile.cxx
@@ -326,6 +326,7 @@ int cmCoreTryCompile::TryCompileCode(std::vector<std::string> const& argv)
{
this->Makefile->IssueMessage(cmake::FATAL_ERROR,
"could not write export file.");
+ fclose(fout);
return -1;
}
fprintf(fout,
-----------------------------------------------------------------------
Summary of changes:
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list