[libxslt] New-line terminate error message that missed this convention
- From: Nick Wellnhofer <nwellnhof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libxslt] New-line terminate error message that missed this convention
- Date: Thu, 18 May 2017 16:26:16 +0000 (UTC)
commit 896caefc40111ac225a36500fe464f5d18a955c8
Author: Jan Pokorný <jpokorny redhat com>
Date: Thu May 18 18:08:38 2017 +0200
New-line terminate error message that missed this convention
That could confuse library users that set their own error handler,
because there are already cases in libxslt that push a single message
in chunks (the same way as libxml2 does) and the user may be interested
in performing the message reconstruction on its own.
libxslt/numbers.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libxslt/numbers.c b/libxslt/numbers.c
index e78c46b..548bbf1 100644
--- a/libxslt/numbers.c
+++ b/libxslt/numbers.c
@@ -222,7 +222,7 @@ xsltNumberFormatDecimal(xmlBufferPtr buffer,
}
if (i < 0)
xsltGenericError(xsltGenericErrorContext,
- "xsltNumberFormatDecimal: Internal buffer size exceeded");
+ "xsltNumberFormatDecimal: Internal buffer size exceeded\n");
xmlBufferCat(buffer, pointer);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]