Followup to r10822: send the CDATA text to the XML channel, not the

text one.  Duh.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10825
This commit is contained in:
Julian Seward 2009-08-15 23:33:04 +00:00
parent b087fe5ad3
commit b58b99e9aa

View File

@ -415,7 +415,7 @@ static void gen_suppression(Error* err)
// itself contains "]]>", as specified in Protocol 4.
VG_(printf_xml)(" <rawtext>\n");
VG_(printf_xml)("<![CDATA[\n");
VG_(printf)("%s", (HChar*) VG_(indexXA)(text, 0) );
VG_(printf_xml)("%s", (HChar*) VG_(indexXA)(text, 0) );
VG_(printf_xml)("]]>\n");
VG_(printf_xml)(" </rawtext>\n");
VG_(printf_xml)(" </suppression>\n");