mirror of
https://github.com/reactos/reactos.git
synced 2025-06-10 20:34:59 +00:00
[LIBXML2] Update to version 2.9.7. CORE-14291
This commit is contained in:
parent
b97f0a8fed
commit
fc82f8e2e3
52 changed files with 1978 additions and 2458 deletions
6
sdk/lib/3rdparty/libxml2/buf.c
vendored
6
sdk/lib/3rdparty/libxml2/buf.c
vendored
|
@ -49,7 +49,7 @@ struct _xmlBuf {
|
|||
size_t use; /* The buffer size used */
|
||||
size_t size; /* The buffer size */
|
||||
xmlBufferPtr buffer; /* wrapper for an old buffer */
|
||||
int error; /* an error code if a failure occured */
|
||||
int error; /* an error code if a failure occurred */
|
||||
};
|
||||
|
||||
#ifdef WITH_BUFFER_COMPAT
|
||||
|
@ -231,7 +231,7 @@ xmlBufPtr
|
|||
xmlBufCreateStatic(void *mem, size_t size) {
|
||||
xmlBufPtr ret;
|
||||
|
||||
if ((mem == NULL) || (size == 0))
|
||||
if (mem == NULL)
|
||||
return(NULL);
|
||||
|
||||
ret = (xmlBufPtr) xmlMalloc(sizeof(xmlBuf));
|
||||
|
@ -701,7 +701,7 @@ xmlBufUse(const xmlBufPtr buf)
|
|||
* used in the buffer. It does not account for the terminating zero
|
||||
* usually needed
|
||||
*
|
||||
* Returns the amount or 0 if none or an error occured
|
||||
* Returns the amount or 0 if none or an error occurred
|
||||
*/
|
||||
|
||||
size_t
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue