diff options
author | Karel Zak | 2018-03-27 10:40:13 +0200 |
---|---|---|
committer | Karel Zak | 2018-03-27 10:55:27 +0200 |
commit | 651c5d428c2ef103ee8c5b1a310d6f29f0304744 (patch) | |
tree | 9d007566ef621fdf6e833537ec12ad49da5723f5 /Documentation | |
parent | docs: add to column(1) TODO (diff) | |
download | kernel-qcow2-util-linux-651c5d428c2ef103ee8c5b1a310d6f29f0304744.tar.gz kernel-qcow2-util-linux-651c5d428c2ef103ee8c5b1a310d6f29f0304744.tar.xz kernel-qcow2-util-linux-651c5d428c2ef103ee8c5b1a310d6f29f0304744.zip |
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 <kzak@redhat.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/TODO | 3 |
1 files changed, 0 insertions, 3 deletions
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: |