aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2003-04-24 16:06:47 +0000
committerDaniel Veillard <veillard@src.gnome.org>2003-04-24 16:06:47 +0000
commita76fe5ca11ebf9e9322dfcf7728dc55077086d43 (patch)
treef717e6f0663abdcd12577942ddf5f34251282bec /include
parent18f113da8c65e108550485a13aba4f787b3f5529 (diff)
downloadandroid_external_libxml2-a76fe5ca11ebf9e9322dfcf7728dc55077086d43.tar.gz
android_external_libxml2-a76fe5ca11ebf9e9322dfcf7728dc55077086d43.tar.bz2
android_external_libxml2-a76fe5ca11ebf9e9322dfcf7728dc55077086d43.zip
integrated the Out Of Memory test from Havoc Pennington #109368 a lot of
* Makefile.am testOOM.c testOOMlib.[ch] : integrated the Out Of Memory test from Havoc Pennington #109368 * SAX.c parser.c parserInternals.c tree.c uri.c valid.c xmlmemory.c xmlreader.c xmlregexp.c include/libxml/tree.h include/libxml/parser.h: a lot of memory allocation cleanups based on the results of the OOM testing * check-relaxng-test-suite2.py: seems I forgot to commit the script. Daniel
Diffstat (limited to 'include')
-rw-r--r--include/libxml/parser.h2
-rw-r--r--include/libxml/tree.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/libxml/parser.h b/include/libxml/parser.h
index 4578ad91..0a3597e5 100644
--- a/include/libxml/parser.h
+++ b/include/libxml/parser.h
@@ -802,7 +802,7 @@ int xmlParseCtxtExternalEntity(xmlParserCtxtPtr ctx,
/*
* Parser contexts handling.
*/
-void xmlInitParserCtxt (xmlParserCtxtPtr ctxt);
+int xmlInitParserCtxt (xmlParserCtxtPtr ctxt);
void xmlClearParserCtxt (xmlParserCtxtPtr ctxt);
void xmlFreeParserCtxt (xmlParserCtxtPtr ctxt);
void xmlSetupParserForBuffer (xmlParserCtxtPtr ctxt,
diff --git a/include/libxml/tree.h b/include/libxml/tree.h
index 60c1d88f..c8467e8e 100644
--- a/include/libxml/tree.h
+++ b/include/libxml/tree.h
@@ -724,7 +724,7 @@ xmlNodePtr xmlAddNextSibling (xmlNodePtr cur,
void xmlUnlinkNode (xmlNodePtr cur);
xmlNodePtr xmlTextMerge (xmlNodePtr first,
xmlNodePtr second);
-void xmlTextConcat (xmlNodePtr node,
+int xmlTextConcat (xmlNodePtr node,
const xmlChar *content,
int len);
void xmlFreeNodeList (xmlNodePtr cur);