From 95c248b6030bd7dbbfbe0ff9e72f0518f2ff6246 Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Thu, 18 Sep 2003 09:33:13 +0000 Subject: [PATCH] don't output errors to stdout by default use stderr instead. Daniel * python/libxslt.c: don't output errors to stdout by default use stderr instead. Daniel --- ChangeLog | 5 +++++ python/libxslt.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 46505568..acfc8e98 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Thu Sep 18 11:32:20 CEST 2003 Daniel Veillard + + * python/libxslt.c: don't output errors to stdout by default + use stderr instead. + Thu Sep 18 11:28:43 CEST 2003 Daniel Veillard * libxslt/functions.c libxslt/numbers.c: small fixes w.r.t. diff --git a/python/libxslt.c b/python/libxslt.c index 84978414..09b4cc54 100644 --- a/python/libxslt.c +++ b/python/libxslt.c @@ -572,7 +572,7 @@ libxslt_xsltErrorFuncHandler(ATTRIBUTE_UNUSED void *ctx, const char *msg, if (libxslt_xsltPythonErrorFuncHandler == NULL) { va_start(ap, msg); - vfprintf(stdout, msg, ap); + vfprintf(stderr, msg, ap); va_end(ap); } else { str = (char *) xmlMalloc(150);