mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 04:35:53 +00:00
[LIBXML2] Update to version 2.9.10. CORE-16952
This commit is contained in:
parent
b82bf8ce16
commit
f22fa382fe
65 changed files with 2245 additions and 2056 deletions
8
sdk/lib/3rdparty/libxml2/parserInternals.c
vendored
8
sdk/lib/3rdparty/libxml2/parserInternals.c
vendored
|
@ -703,7 +703,7 @@ encoding_error:
|
|||
/*
|
||||
* An encoding problem may arise from a truncated input buffer
|
||||
* splitting a character in the middle. In that case do not raise
|
||||
* an error but return 0 to endicate an end of stream problem
|
||||
* an error but return 0 to indicate an end of stream problem
|
||||
*/
|
||||
if (ctxt->input->end - ctxt->input->cur < 4) {
|
||||
*len = 0;
|
||||
|
@ -816,7 +816,7 @@ encoding_error:
|
|||
/*
|
||||
* An encoding problem may arise from a truncated input buffer
|
||||
* splitting a character in the middle. In that case do not raise
|
||||
* an error but return 0 to endicate an end of stream problem
|
||||
* an error but return 0 to indicate an end of stream problem
|
||||
*/
|
||||
if ((ctxt == NULL) || (ctxt->input == NULL) ||
|
||||
(ctxt->input->end - ctxt->input->cur < 4)) {
|
||||
|
@ -1093,7 +1093,7 @@ xmlSwitchEncoding(xmlParserCtxtPtr ctxt, xmlCharEncoding enc)
|
|||
}
|
||||
}
|
||||
/*
|
||||
* TODO: We could recover from errors in external entites if we
|
||||
* TODO: We could recover from errors in external entities if we
|
||||
* didn't stop the parser. But most callers of this function don't
|
||||
* check the return value.
|
||||
*/
|
||||
|
@ -1138,7 +1138,7 @@ xmlSwitchInputEncodingInt(xmlParserCtxtPtr ctxt, xmlParserInputPtr input,
|
|||
if (input->buf != NULL) {
|
||||
if (input->buf->encoder != NULL) {
|
||||
/*
|
||||
* Check in case the auto encoding detetection triggered
|
||||
* Check in case the auto encoding detection triggered
|
||||
* in already.
|
||||
*/
|
||||
if (input->buf->encoder == handler)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue