util-linux/text-utils
Karel Zak 651c5d428c 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 5c7b67fbbf
(alter), but this solution is unnecessary and too complex.

Changes:

* don't ignore leading space
* remove unnecessary stuff introduced by 5c7b67fbbf
* 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>
2018-03-27 10:55:27 +02:00
..
Makemodule.am build-sys: remove column-old.c 2017-05-03 10:40:46 +02:00
col.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
col.c misc: consolidate macro style USAGE_HELP_OPTIONS 2017-06-29 16:54:33 +02:00
colcrt.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
colcrt.c misc: consolidate macro style USAGE_HELP_OPTIONS 2017-06-29 16:54:33 +02:00
colrm.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
colrm.c misc: consolidate macro style USAGE_HELP_OPTIONS 2017-06-29 16:54:33 +02:00
column.1 column: update column.1 2018-03-19 11:45:53 +01:00
column.c column: fix leading space characters bug 2018-03-27 10:55:27 +02:00
hexdump-conv.c hexdump: Rename struct _pr to struct hexdump_pr and remove it's typedef 2013-12-02 13:44:21 +01:00
hexdump-display.c misc: stop mixing declarations and code 2017-03-13 14:48:04 +01:00
hexdump-parse.c misc: fix ggc-7 fallthrough warnings 2017-06-14 11:48:22 +02:00
hexdump.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
hexdump.c misc: consolidate macro style USAGE_HELP_OPTIONS 2017-06-29 16:54:33 +02:00
hexdump.h misc: cosmetics, remove argument from usage(FILE*) 2017-06-26 14:38:24 +02:00
line.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
line.c misc: consolidate macro style USAGE_HELP_OPTIONS 2017-06-29 16:54:33 +02:00
more.1 more: add --help and --version 2017-06-22 21:35:01 +02:00
more.c text-utils: use errexec() 2018-02-01 15:40:43 +01:00
pg.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
pg.c text-utils: use errexec() 2018-02-01 15:40:43 +01:00
rev.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
rev.c misc: consolidate macro style USAGE_HELP_OPTIONS 2017-06-29 16:54:33 +02:00
ul.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
ul.c misc: consolidate macro style USAGE_HELP_OPTIONS 2017-06-29 16:54:33 +02:00