[PATCH] New-line terminate error message that missed this convention

Jan Pokorný <[email protected]> Fri, 12 May 2017 16:10:36 +0200
Newsgroups gmane.comp.gnome.lib.xslt
Message-ID <[email protected]>
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.

Quick scan only discovered this occurrence, but there may be more.

Signed-off-by: Jan Pokorný <[email protected]>
---
 libxslt/numbers.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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);
 }
 
-- 
2.4.11

_______________________________________________
xslt mailing list, project page http://xmlsoft.org/XSLT/
[email protected]
https://mail.gnome.org/mailman/listinfo/xslt