Bug#715373: libzvbi produces unconditional debug output to stderr
Package: zvbi
Version: 0.2.33-7
Tags: patch
Hi,
Using the text export from libzvbi produces debug output such as
vbi_print_page_region 'UTF-8' table=1 col=0 row=1 width=41 height=24
to stderr. Attached quilt patch fixes this.
Regards,
Wolfram.
Description: disable unconditional debug output to stderr from text export
Author: Wolfram Gloger <bugzilla1@malloc.de>
Index: zvbi-0.2.33/src/exp-txt.c
===================================================================
--- zvbi-0.2.33.orig/src/exp-txt.c 2008-02-24 15:17:41.000000000 +0100
+++ zvbi-0.2.33/src/exp-txt.c 2013-07-08 14:57:50.000000000 +0200
@@ -355,7 +355,7 @@
rtl = rtl;
- if (1)
+ if (_vbi_global_log.mask & VBI_LOG_DEBUG)
fprintf (stderr, "vbi_print_page_region '%s' "
"table=%d col=%d row=%d width=%d height=%d\n",
format, table, column, row, width, height);
Reply to: