]> git.ipfire.org Git - thirdparty/util-linux.git/commit
column: fix leading space characters bug stable/v2.30
authorKarel Zak <kzak@redhat.com>
Tue, 27 Mar 2018 08:40:13 +0000 (10:40 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 27 Mar 2018 09:34:11 +0000 (11:34 +0200)
commit5b6fa6063990017f3384476537106caa9e3f5867
tree5e646ed3b8a4f6c4f08655197d4b060aad92fa00
parent8bef60e497f769792af9b756dfb91f8696956db0
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).

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>
text-utils/column.c