mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-29 11:41:22 +03:00
patch from Richard Jinks for XPath substring() function new set of tests
* xpath.c: patch from Richard Jinks for XPath substring() function * result/XPath/expr/strings test/XPath/expr/strings: new set of tests Daniel
This commit is contained in:
4
xmlIO.c
4
xmlIO.c
@ -143,6 +143,7 @@ xmlCleanupInputCallbacks(void)
|
||||
xmlInputCallbackTable[i].readcallback = NULL;
|
||||
xmlInputCallbackTable[i].closecallback = NULL;
|
||||
}
|
||||
xmlInputCallbackInitialized = 0;
|
||||
|
||||
xmlInputCallbackNr = 0;
|
||||
xmlInputCallbackInitialized = 0;
|
||||
@ -168,6 +169,7 @@ xmlCleanupOutputCallbacks(void)
|
||||
xmlOutputCallbackTable[i].writecallback = NULL;
|
||||
xmlOutputCallbackTable[i].closecallback = NULL;
|
||||
}
|
||||
xmlOutputCallbackInitialized = 0;
|
||||
|
||||
xmlOutputCallbackNr = 0;
|
||||
xmlOutputCallbackInitialized = 0;
|
||||
@ -2116,7 +2118,7 @@ xmlParserInputBufferGrow(xmlParserInputBufferPtr in, int len) {
|
||||
int res = 0;
|
||||
int nbchars = 0;
|
||||
int buffree;
|
||||
int needSize;
|
||||
unsigned int needSize;
|
||||
|
||||
if ((len <= MINLEN) && (len != 4))
|
||||
len = MINLEN;
|
||||
|
Reference in New Issue
Block a user