mirror of
https://github.com/reactos/reactos.git
synced 2025-06-12 02:08:30 +00:00
[LIBXML2] Update to version 2.9.8. CORE-15280
This commit is contained in:
parent
61fed54064
commit
5bb277a54b
37 changed files with 545 additions and 493 deletions
6
sdk/lib/3rdparty/libxml2/parserInternals.c
vendored
6
sdk/lib/3rdparty/libxml2/parserInternals.c
vendored
|
@ -32,7 +32,7 @@
|
|||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
#ifdef HAVE_ZLIB_H
|
||||
#ifdef LIBXML_ZLIB_ENABLED
|
||||
#include <zlib.h>
|
||||
#endif
|
||||
|
||||
|
@ -1214,7 +1214,7 @@ xmlSwitchInputEncodingInt(xmlParserCtxtPtr ctxt, xmlParserInputPtr input,
|
|||
/*
|
||||
* convert as much as possible of the buffer
|
||||
*/
|
||||
nbchars = xmlCharEncInput(input->buf, 1);
|
||||
nbchars = xmlCharEncInput(input->buf, 0);
|
||||
} else {
|
||||
/*
|
||||
* convert just enough to get
|
||||
|
@ -1795,7 +1795,7 @@ xmlFreeParserCtxt(xmlParserCtxtPtr ctxt)
|
|||
if (ctxt->pushTab != NULL) xmlFree(ctxt->pushTab);
|
||||
if (ctxt->attallocs != NULL) xmlFree(ctxt->attallocs);
|
||||
if (ctxt->attsDefault != NULL)
|
||||
xmlHashFree(ctxt->attsDefault, (xmlHashDeallocator) xmlFree);
|
||||
xmlHashFree(ctxt->attsDefault, xmlHashDefaultDeallocator);
|
||||
if (ctxt->attsSpecial != NULL)
|
||||
xmlHashFree(ctxt->attsSpecial, NULL);
|
||||
if (ctxt->freeElems != NULL) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue