hush/coreutils
Denys Vlasenko ea351b9742 ls: fix columnar output. Closes 8731
In coreutils/ls.c, 1.19 introduced commit
2f7d9e8903029b1b5e51a15f9cb0dcb6ca17c3ac, removing the variable tabstops and
hard coding the column separation to 2 characters, but was not done correctly.
The column_width assumes a gap of 1 character, so the computed number of
columns exceeds the terminal width when many small files are encountered.

A minor problem but surprisingly annoying.

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2016-03-06 17:53:11 +01:00
..
2015-01-24 19:46:45 +01:00
2014-02-03 03:27:53 +01:00
2016-02-01 02:17:28 +01:00
2015-04-21 16:00:41 +02:00
2015-07-21 19:50:48 +02:00
2015-07-13 03:25:46 +02:00
2016-03-06 17:53:11 +01:00
2013-07-04 11:33:42 +02:00
2015-06-07 18:19:47 +02:00
2015-07-21 19:50:48 +02:00
2014-01-10 16:26:15 +01:00
2015-04-21 16:00:41 +02:00
2013-09-11 11:58:33 +02:00
2015-10-26 17:18:07 +01:00
2015-04-21 16:00:41 +02:00
2016-01-13 13:30:20 -05:00
2015-08-03 18:09:18 +02:00
2015-10-07 22:42:45 +02:00
2014-06-22 20:44:25 +02:00
2015-10-07 22:42:45 +02:00