summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--python/libxslt.c2
2 files changed, 6 insertions, 1 deletions
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 <daniel@veillard.com>
+
+ * python/libxslt.c: don't output errors to stdout by default
+ use stderr instead.
+
Thu Sep 18 11:28:43 CEST 2003 Daniel Veillard <daniel@veillard.com>
* 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);