summaryrefslogtreecommitdiffstats
path: root/Source/cmCTest.cxx
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2007-06-12 15:11:07 (GMT)
committerDavid Cole <david.cole@kitware.com>2007-06-12 15:11:07 (GMT)
commit07837ebe3a159e644fb73ef8b48461eb33dd65a6 (patch)
tree4f382487d9c566312218ac97a5850eff413a0a27 /Source/cmCTest.cxx
parent6e28861c188316ead00c750cb71b130237179812 (diff)
downloadCMake-07837ebe3a159e644fb73ef8b48461eb33dd65a6.zip
CMake-07837ebe3a159e644fb73ef8b48461eb33dd65a6.tar.gz
CMake-07837ebe3a159e644fb73ef8b48461eb33dd65a6.tar.bz2
BUG: Never return a string containing a space " " from cmCTest::GetShortPathToFile - replace them with "_". DART cannot construct valid file names during dashboard rollup with space " " in the short path.
Diffstat (limited to 'Source/cmCTest.cxx')
-rw-r--r--Source/cmCTest.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx
index bd6480d..4d9cfcd 100644
--- a/Source/cmCTest.cxx
+++ b/Source/cmCTest.cxx
@@ -2219,6 +2219,7 @@ std::string cmCTest::GetShortPathToFile(const char* cfname)
}
cmsys::SystemTools::ReplaceString(path, ":", "_");
+ cmsys::SystemTools::ReplaceString(path, " ", "_");
return path;
}