mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-01-26 10:03:34 +03:00
Oops, Daniel
This commit is contained in:
parent
828ce83d4c
commit
a88562208d
4
error.c
4
error.c
@ -353,9 +353,9 @@ xmlReportError(xmlErrorPtr err, xmlParserCtxtPtr ctxt, const char *str,
|
||||
int len;
|
||||
len = xmlStrlen((const xmlChar *)str);
|
||||
if ((len > 0) && (str[len - 1] != '\n'))
|
||||
channel(data, "%s", str);
|
||||
else
|
||||
channel(data, "%s\n", str);
|
||||
else
|
||||
channel(data, "%s", str);
|
||||
} else {
|
||||
channel(data, "%s\n", "out of memory error");
|
||||
}
|
||||
|
2
xmlIO.c
2
xmlIO.c
@ -130,7 +130,7 @@ static int xmlOutputCallbackInitialized = 0;
|
||||
************************************************************************/
|
||||
|
||||
static const char *IOerr[] = {
|
||||
"Unknown IO error errno", /* UNKNOWN */
|
||||
"Unknown IO error", /* UNKNOWN */
|
||||
"Permission denied", /* EACCES */
|
||||
"Resource temporarily unavailable",/* EAGAIN */
|
||||
"Bad file descriptor", /* EBADF */
|
||||
|
Loading…
x
Reference in New Issue
Block a user