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.

This commit is contained in:
David Cole 2007-06-12 11:11:07 -04:00
parent 6e28861c18
commit 07837ebe3a
1 changed files with 1 additions and 0 deletions

View File

@ -2219,6 +2219,7 @@ std::string cmCTest::GetShortPathToFile(const char* cfname)
}
cmsys::SystemTools::ReplaceString(path, ":", "_");
cmsys::SystemTools::ReplaceString(path, " ", "_");
return path;
}