From: Karel Zak Date: Fri, 16 Apr 2010 12:59:10 +0000 (+0200) Subject: lib: remove unwanted debug messages X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e7baa9710507aab9440e3a7bc61830897f465dd7;p=util-linux lib: remove unwanted debug messages Signed-off-by: Karel Zak --- diff --git a/lib/tt.c b/lib/tt.c index beb04311..7d87bf54 100644 --- a/lib/tt.c +++ b/lib/tt.c @@ -388,9 +388,6 @@ static void recount_widths(struct tt *tb, char *buf, size_t bufsz) if (cl->width < len) cl->width = len; - -fprintf(stderr, "KZAK: 1: %s = %d\n", cl->name, cl->width); - } } @@ -409,9 +406,6 @@ fprintf(stderr, "KZAK: 1: %s = %d\n", cl->name, cl->width); cl->width = (int) cl->width_hint; width += cl->width + (is_last_column(tb, cl) ? 0 : 1); - -fprintf(stderr, "KZAK: 2: %s = %d\n", cl->name, cl->width); - } if (width == tb->termwidth) @@ -460,7 +454,7 @@ fprintf(stderr, "KZAK: 2: %s = %d\n", cl->name, cl->width); } } leave: -///* +/* fprintf(stderr, "terminal: %d, output: %d\n", tb->termwidth, width); list_for_each(p, &tb->tb_columns) { @@ -472,7 +466,7 @@ leave: cl->width_hint > 1 ? (int) cl->width_hint : (int) (cl->width_hint * tb->termwidth)); } -//*/ +*/ return; }