diff options
author | Brad King <brad.king@kitware.com> | 2015-08-31 13:48:37 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2015-08-31 13:48:37 (GMT) |
commit | e18f6fe276ea3ca576bb5f8fb910a6532280d900 (patch) | |
tree | 22e2acd4d06dcf919f066da2823ace458ba9f164 /Source/cmCTest.cxx | |
parent | d01e3c31c9027983663918d5cbcba2a61aeb2f9f (diff) | |
parent | ab2524d63f651e6d96c770fb3571bddab4b86621 (diff) | |
download | CMake-e18f6fe276ea3ca576bb5f8fb910a6532280d900.zip CMake-e18f6fe276ea3ca576bb5f8fb910a6532280d900.tar.gz CMake-e18f6fe276ea3ca576bb5f8fb910a6532280d900.tar.bz2 |
Merge topic 'fix-ctest-xml-double-encoding'
ab2524d6 CTest: Fix XML double-encoding cases
dee84dc7 cmCTest{BZR,GIT,P4}: Remove unused cmXMLSafe includes
b3372db5 cmExtra{Kate,SublimeText}Generator: Remove unused cmXMLSafe includes
Diffstat (limited to 'Source/cmCTest.cxx')
-rw-r--r-- | Source/cmCTest.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx index adefd1c..b2ad4a8 100644 --- a/Source/cmCTest.cxx +++ b/Source/cmCTest.cxx @@ -22,7 +22,6 @@ #include <cmsys/FStream.hxx> #include "cmDynamicLoader.h" #include "cmGeneratedFileStream.h" -#include "cmXMLSafe.h" #include "cmVersionMacros.h" #include "cmCTestCommand.h" #include "cmCTestStartCommand.h" @@ -156,7 +155,7 @@ std::string cmCTest::CurrentTime() strftime(current_time, 1000, "%a %b %d %H:%M:%S %Z %Y", t); } cmCTestLog(this, DEBUG, " Current_Time: " << current_time << std::endl); - return cmXMLSafe(cmCTest::CleanString(current_time)).str(); + return cmCTest::CleanString(current_time); } //---------------------------------------------------------------------- @@ -1498,8 +1497,6 @@ std::string cmCTest::SafeBuildIdField(const std::string& value) cmSystemTools::ReplaceString(safevalue, replace, ""); } } - - safevalue = cmXMLSafe(safevalue).str(); } if (safevalue == "") |