- error.c: Jean Franois Lecomte provided a complete description

and a fix to bug #53537
Daniel
This commit is contained in:
Daniel Veillard 2001-04-26 09:16:13 +00:00
parent 5c4ec4c862
commit 5a7c3459d0
2 changed files with 12 additions and 2 deletions

View File

@ -1,3 +1,8 @@
Thu Apr 26 11:14:56 CEST 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
* error.c: Jean François Lecomte provided a complete description
and a fix to bug #53537
Thu Apr 26 09:42:58 CEST 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
* libxml.m4: added AM_PATH_XML2 provided by Toshio Kuratomi

View File

@ -137,8 +137,13 @@ xmlParserPrintFileContext(xmlParserInputPtr input) {
*ctnt++ = ' ';
cur--;
}
*(--ctnt) = '^';
*(++ctnt) = 0;
if (ctnt > content) {
*(--ctnt) = '^';
*(++ctnt) = 0;
} else {
*ctnt = '^';
*(++ctnt) = 0;
}
xmlGenericError(xmlGenericErrorContext,"%s\n", content);
}