[cmake-commits] hoffman committed cmMacroCommand.cxx 1.28 1.29
cmake-commits at cmake.org
cmake-commits at cmake.org
Tue Oct 3 10:57:34 EDT 2006
Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv12721
Modified Files:
cmMacroCommand.cxx
Log Message:
BUG: fix for seg fault bug #3815
Index: cmMacroCommand.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmMacroCommand.cxx,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- cmMacroCommand.cxx 31 May 2006 15:19:39 -0000 1.28
+++ cmMacroCommand.cxx 3 Oct 2006 14:57:31 -0000 1.29
@@ -235,6 +235,10 @@
}
if(!this->Makefile->ExecuteCommand(newLFF))
{
+ if(!args[0].FilePath)
+ {
+ args[0].FilePath = "Unknown";
+ }
cmOStringStream error;
error << "Error in cmake code at\n"
<< args[0].FilePath << ":" << args[0].Line << ":\n"
More information about the Cmake-commits
mailing list