[Cmake-commits] [cmake-commits] king committed cmXMLSafe.cxx 1.3 1.4

cmake-commits at cmake.org cmake-commits at cmake.org
Mon Mar 2 09:59:17 EST 2009


Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv18375/Source

Modified Files:
	cmXMLSafe.cxx 
Log Message:
BUG: Hack for issue #8647


Index: cmXMLSafe.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmXMLSafe.cxx,v
retrieving revision 1.3
retrieving revision 1.4
diff -C 2 -d -r1.3 -r1.4
*** cmXMLSafe.cxx	6 Feb 2009 14:08:02 -0000	1.3
--- cmXMLSafe.cxx	2 Mar 2009 14:59:14 -0000	1.4
***************
*** 83,87 ****
            // handle the current locale and its encoding.
            char buf[16];
!           sprintf(buf, "&#x%hx;", static_cast<unsigned short>(c));
            os << buf;
            }
--- 83,87 ----
            // handle the current locale and its encoding.
            char buf[16];
!           sprintf(buf, "[bad-char-%hx]", static_cast<unsigned short>(c));
            os << buf;
            }



More information about the Cmake-commits mailing list