From 547280b0ba405805802c0a6f74b8eb0c0535155c Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Wed, 24 Aug 2005 11:18:26 -0400 Subject: [PATCH] BUG: Prevent from creating bogus files --- Source/CTest/cmCTestGenericHandler.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/CTest/cmCTestGenericHandler.cxx b/Source/CTest/cmCTestGenericHandler.cxx index 8ceff8e20..cbc2aa710 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(); }