summaryrefslogtreecommitdiffstats
path: root/Source/cmCTest.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-08-31 13:48:37 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2015-08-31 13:48:37 (GMT)
commite18f6fe276ea3ca576bb5f8fb910a6532280d900 (patch)
tree22e2acd4d06dcf919f066da2823ace458ba9f164 /Source/cmCTest.cxx
parentd01e3c31c9027983663918d5cbcba2a61aeb2f9f (diff)
parentab2524d63f651e6d96c770fb3571bddab4b86621 (diff)
downloadCMake-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.cxx5
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 == "")