diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2003-04-18 12:34:58 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2003-04-18 12:34:58 +0000 |
commit | 3e59fc52d52a7e07a9dbf214893d90c965b53c1c (patch) | |
tree | 31eba8b02b65f1fc8003ed56ba658893a14fed40 /parser.c | |
parent | e81765f61094eee43dd09b99736927e373ce2c00 (diff) | |
download | android_external_libxml2-3e59fc52d52a7e07a9dbf214893d90c965b53c1c.tar.gz android_external_libxml2-3e59fc52d52a7e07a9dbf214893d90c965b53c1c.tar.bz2 android_external_libxml2-3e59fc52d52a7e07a9dbf214893d90c965b53c1c.zip |
added support for large file, tested with a 3+GB instance, and some
* libxml.h include/libxml/parser.h parser.c xmlIO.c DOCBparser.c:
added support for large file, tested with a 3+GB instance,
and some cleanup.
* catalog.c: added a TODO
* Makefile.am: added some "make tests" comments
Daniel
Diffstat (limited to 'parser.c')
-rw-r--r-- | parser.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -5044,7 +5044,7 @@ xmlParseConditionalSections(xmlParserCtxtPtr ctxt) { while ((RAW != 0) && ((RAW != ']') || (NXT(1) != ']') || (NXT(2) != '>'))) { const xmlChar *check = CUR_PTR; - int cons = ctxt->input->consumed; + unsigned int cons = ctxt->input->consumed; if ((RAW == '<') && (NXT(1) == '!') && (NXT(2) == '[')) { xmlParseConditionalSections(ctxt); @@ -5352,7 +5352,7 @@ xmlParseExternalSubset(xmlParserCtxtPtr ctxt, const xmlChar *ExternalID, ((RAW == '<') && (NXT(1) == '!')) || (RAW == '%') || IS_BLANK(CUR)) { const xmlChar *check = CUR_PTR; - int cons = ctxt->input->consumed; + unsigned int cons = ctxt->input->consumed; GROW; if ((RAW == '<') && (NXT(1) == '!') && (NXT(2) == '[')) { @@ -6485,7 +6485,7 @@ xmlParseInternalSubset(xmlParserCtxtPtr ctxt) { */ while (RAW != ']') { const xmlChar *check = CUR_PTR; - int cons = ctxt->input->consumed; + unsigned int cons = ctxt->input->consumed; SKIP_BLANKS; xmlParseMarkupDecl(ctxt); @@ -6695,7 +6695,7 @@ xmlParseStartTag(xmlParserCtxtPtr ctxt) { ((RAW != '/') || (NXT(1) != '>')) && (IS_CHAR(RAW))) { const xmlChar *q = CUR_PTR; - int cons = ctxt->input->consumed; + unsigned int cons = ctxt->input->consumed; attname = xmlParseAttribute(ctxt, &attvalue); if ((attname != NULL) && (attvalue != NULL)) { @@ -7030,7 +7030,7 @@ xmlParseContent(xmlParserCtxtPtr ctxt) { while ((RAW != 0) && ((RAW != '<') || (NXT(1) != '/'))) { const xmlChar *test = CUR_PTR; - int cons = ctxt->input->consumed; + unsigned int cons = ctxt->input->consumed; const xmlChar *cur = ctxt->input->cur; /* @@ -8709,7 +8709,7 @@ xmlParseTryOrFinish(xmlParserCtxtPtr ctxt, int terminate) { } case XML_PARSER_CONTENT: { const xmlChar *test; - int cons; + unsigned int cons; if ((avail < 2) && (ctxt->inputNr == 1)) goto done; cur = ctxt->input->cur[0]; |