summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2009-10-15 11:38:51 (GMT)
committerDavid Cole <david.cole@kitware.com>2009-10-15 11:38:51 (GMT)
commit886ae02356c9bfacb340a4317b8f26ffea4db4e9 (patch)
treec6d605428cee75d33cadb97e5994618f832e775b /Source
parentb5f63c6b7d3ffc28eecb434f2f16b7453bf27d98 (diff)
downloadCMake-886ae02356c9bfacb340a4317b8f26ffea4db4e9.zip
CMake-886ae02356c9bfacb340a4317b8f26ffea4db4e9.tar.gz
CMake-886ae02356c9bfacb340a4317b8f26ffea4db4e9.tar.bz2
Fix crash on Windows. Remove trailing white space from regex. These changes should correct all failures of the new FailedSubmit tests.
Diffstat (limited to 'Source')
-rw-r--r--Source/cmCTest.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx
index 8dace33..6d21ab5 100644
--- a/Source/cmCTest.cxx
+++ b/Source/cmCTest.cxx
@@ -2369,7 +2369,7 @@ void cmCTest::EmptyCTestConfiguration()
void cmCTest::SetCTestConfiguration(const char *name, const char* value)
{
cmCTestLog(this, HANDLER_VERBOSE_OUTPUT, "SetCTestConfiguration:"
- << name << ":" << value << "\n");
+ << name << ":" << (value ? value : "(null)") << "\n");
if ( !name )
{