[cmake-commits] hoffman committed cmTryCompileCommand.cxx 1.57 1.58
cmake-commits at cmake.org
cmake-commits at cmake.org
Tue Oct 3 13:22:33 EDT 2006
Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv30821
Modified Files:
cmTryCompileCommand.cxx
Log Message:
ENH: make sure file is closed
Index: cmTryCompileCommand.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmTryCompileCommand.cxx,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -d -r1.57 -r1.58
--- cmTryCompileCommand.cxx 14 Jun 2006 16:28:30 -0000 1.57
+++ cmTryCompileCommand.cxx 3 Oct 2006 17:22:30 -0000 1.58
@@ -178,6 +178,7 @@
}
err << "\nSee PROJECT command for help enabling other languages.";
cmSystemTools::Error(err.str().c_str());
+ fclose(fout);
return -1;
}
std::string langFlags = "CMAKE_";
More information about the Cmake-commits
mailing list