From 651c5d428c2ef103ee8c5b1a310d6f29f0304744 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Tue, 27 Mar 2018 10:40:13 +0200 Subject: column: fix leading space characters bug The bug has been introduced during column(1) rewrite. The function read_input() need to skip leading space only temporary to detect empty lines, but the rest of the code has to use the original buffer (line). I've tried to fix one of the symptoms by 5c7b67fbbf41c973ca8d49b1e8bdba22dbb917aa (alter), but this solution is unnecessary and too complex. Changes: * don't ignore leading space * remove unnecessary stuff introduced by 5c7b67fbbf41c973ca8d49b1e8bdba22dbb917aa * fix regression test with incorrect separator Addresses: https://github.com/karelzak/util-linux/issues/575 Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=1560283 Signed-off-by: Karel Zak --- Documentation/TODO | 3 --- 1 file changed, 3 deletions(-) (limited to 'Documentation') diff --git a/Documentation/TODO b/Documentation/TODO index 126b22dd8..278ed4894 100644 --- a/Documentation/TODO +++ b/Documentation/TODO @@ -13,9 +13,6 @@ column - add option to NOT ignore empty lines https://github.com/karelzak/util-linux/issues/593 - - add option to NOT ignore line leading empty space - https://bugzilla.redhat.com/show_bug.cgi?id=1560283 - script ------ - (!) add terminal type ($TERM), columns and lines to the header line, something like: -- cgit v1.2.3-55-g7522