Package: gkrelltop
Version: 2.2.13-1
Severity: minor

Dear Maintainer,

gkrelltop causes "available 0" (or 1) to be printed in stderr on
gkrellm startup. The attached patch makes it quiet.

-- System Information:
Debian Release: stretch/sid
  APT prefers artful-updates
  APT policy: (500, 'artful-updates'), (500, 'artful-security'), (500, 'artful')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.13.0-16-generic (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages gkrelltop depends on:
ii  gkrellm  2.3.10-1
ii  libc6    2.26-0ubuntu2

gkrelltop recommends no packages.

Versions of packages gkrelltop suggests:
pn  gkrelltopd  <none>

-- no debconf information
>From 654dd98442e958c439f5ce3d6d92aef6552d1b71 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ville=20Skytt=C3=A4?= <ville.sky...@iki.fi>
Date: Thu, 26 Oct 2017 12:41:50 +0300
Subject: [PATCH] Hush stderr on init

---
 gkrelltop.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/gkrelltop.c b/gkrelltop.c
index 13ce593..fc68bdd 100644
--- a/gkrelltop.c
+++ b/gkrelltop.c
@@ -812,7 +812,6 @@ Monitor *init_plugin()
 #ifdef    GKRELLM_HAVE_CLIENT_MODE_PLUGINS
     gkrellm_client_plugin_get_setup(GKRELLTOP_SERVE_NAME, top_client_setup);
 
-    fprintf(stderr,"available %d", gkrelltop_server_available);
     if (gkrelltop_server_available)
     {
         find_top_three = gkrelltop_client_process_find_top_three;
-- 
2.14.1

Reply via email to