summaryrefslogtreecommitdiffstats
path: root/Source/cmXMLSafe.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-03-02 14:59:14 (GMT)
committerBrad King <brad.king@kitware.com>2009-03-02 14:59:14 (GMT)
commit3838ec7d9f2b60281b6c92b6a614a78ff78a785c (patch)
tree36a9c67353a0ac44ecba53234d82eee72dc6d89f /Source/cmXMLSafe.cxx
parent1e6b109fedfd9c8a7549e4451d8eaee2c9d4021e (diff)
downloadCMake-3838ec7d9f2b60281b6c92b6a614a78ff78a785c.zip
CMake-3838ec7d9f2b60281b6c92b6a614a78ff78a785c.tar.gz
CMake-3838ec7d9f2b60281b6c92b6a614a78ff78a785c.tar.bz2
BUG: Hack for issue #8647
Diffstat (limited to 'Source/cmXMLSafe.cxx')
-rw-r--r--Source/cmXMLSafe.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmXMLSafe.cxx b/Source/cmXMLSafe.cxx
index 5cf93ca..717743b 100644
--- a/Source/cmXMLSafe.cxx
+++ b/Source/cmXMLSafe.cxx
@@ -82,7 +82,7 @@ cmsys_ios::ostream& operator<<(cmsys_ios::ostream& os, cmXMLSafe const& self)
// encoding. Instead of escaping these bytes, we should
// handle the current locale and its encoding.
char buf[16];
- sprintf(buf, "&#x%hx;", static_cast<unsigned short>(c));
+ sprintf(buf, "[bad-char-%hx]", static_cast<unsigned short>(c));
os << buf;
}
break;