mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-28 00:21:53 +03:00
small fix fixed an error message Daniel
* encoding.c: small fix * xmlIO.c: fixed an error message Daniel
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
Mon Jun 2 15:34:17 CEST 2003 Daniel Veillard <daniel@veillard.com>
|
||||||
|
|
||||||
|
* encoding.c: small fix
|
||||||
|
* xmlIO.c: fixed an error message
|
||||||
|
|
||||||
Tue May 20 14:21:23 CEST 2003 Daniel Veillard <daniel@veillard.com>
|
Tue May 20 14:21:23 CEST 2003 Daniel Veillard <daniel@veillard.com>
|
||||||
|
|
||||||
* parserInternals.c: fixing Red Hat bug #91013 where xmllint was
|
* parserInternals.c: fixing Red Hat bug #91013 where xmllint was
|
||||||
|
@ -2205,7 +2205,7 @@ retry:
|
|||||||
if (handler->output != NULL) {
|
if (handler->output != NULL) {
|
||||||
ret = handler->output(&out->content[out->use], &written,
|
ret = handler->output(&out->content[out->use], &written,
|
||||||
NULL, &toconv);
|
NULL, &toconv);
|
||||||
if (ret == 0) { /* Gennady: check return value */
|
if (ret >= 0) { /* Gennady: check return value */
|
||||||
out->use += written;
|
out->use += written;
|
||||||
out->content[out->use] = 0;
|
out->content[out->use] = 0;
|
||||||
}
|
}
|
||||||
|
2
xmlIO.c
2
xmlIO.c
@ -2182,7 +2182,7 @@ xmlParserInputBufferGrow(xmlParserInputBufferPtr in, int len) {
|
|||||||
if (needSize > in->buffer->size){
|
if (needSize > in->buffer->size){
|
||||||
if (!xmlBufferResize(in->buffer, needSize)){
|
if (!xmlBufferResize(in->buffer, needSize)){
|
||||||
xmlGenericError(xmlGenericErrorContext,
|
xmlGenericError(xmlGenericErrorContext,
|
||||||
"xmlBufferAdd : out of memory!\n");
|
"xmlParserInputBufferGrow : out of memory!\n");
|
||||||
return(0);
|
return(0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user