summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-08-24 15:18:26 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-08-24 15:18:26 (GMT)
commit547280b0ba405805802c0a6f74b8eb0c0535155c (patch)
tree83113e9f13439db3e0d3abb23ac154952ee598a6
parent049678f8eec7927448d52f899c7d1d93d37fc15d (diff)
downloadCMake-547280b0ba405805802c0a6f74b8eb0c0535155c.zip
CMake-547280b0ba405805802c0a6f74b8eb0c0535155c.tar.gz
CMake-547280b0ba405805802c0a6f74b8eb0c0535155c.tar.bz2
BUG: Prevent from creating bogus files
-rw-r--r--Source/CTest/cmCTestGenericHandler.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CTest/cmCTestGenericHandler.cxx b/Source/CTest/cmCTestGenericHandler.cxx
index 8ceff8e..cbc2aa7 100644
--- a/Source/CTest/cmCTestGenericHandler.cxx
+++ b/Source/CTest/cmCTestGenericHandler.cxx
@@ -109,7 +109,7 @@ bool cmCTestGenericHandler::StartLogFile(const char* name, cmGeneratedFileStream
{
ostr << "_" << m_SubmitIndex;
}
- if ( m_CTest->GetCurrentTag().c_str() )
+ if ( *m_CTest->GetCurrentTag().c_str() )
{
ostr << "_" << m_CTest->GetCurrentTag();
}