busybox/coreutils
Denys Vlasenko ea351b9742 ls: fix columnar output. Closes 8731
In coreutils/ls.c, 1.19 introduced commit
2f7d9e8903, 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
..
libcoreutils libbb: more compact API for bb_parse_mode() 2015-10-07 17:55:33 +02:00
basename.c
cal.c
cat.c
catv.c
chgrp.c
chmod.c libbb: more compact API for bb_parse_mode() 2015-10-07 17:55:33 +02:00
chown.c libbb: make parse_chown_usergroup_or_die() set unspecified uid/gid to -1 2015-10-19 04:37:19 +02:00
chroot.c
cksum.c
comm.c
Config.src stat: make -f optional. This allows to build stat for non-linux systems 2015-10-30 22:10:44 +01:00
cp.c
cut.c
date.c
dd.c dd: support iflag=skip_bytes 2016-02-01 02:17:28 +01:00
df.c
dirname.c
dos2unix.c dos2unix: try to preserve ownership. closes 8311 2016-01-17 03:50:36 +01:00
du.c du: extra compat: with -k and -m, round sizes up 2015-10-15 21:33:34 +02:00
echo.c
env.c
expand.c
expr.c
false.c
fold.c
fsync.c
head.c
hostid.c
id_test.sh
id.c
install.c libbb: more compact API for bb_parse_mode() 2015-10-07 17:55:33 +02:00
Kbuild.src
length.c.disabled
ln.c
logname.c
ls.c ls: fix columnar output. Closes 8731 2016-03-06 17:53:11 +01:00
md5_sha1_sum.c
mkdir.c libbb: more compact API for bb_parse_mode() 2015-10-07 17:55:33 +02:00
mkfifo.c
mknod.c
mv.c
nice.c
nohup.c
od_bloaty.c od: get rid of (almost all) statics 2015-10-19 02:51:56 +02:00
od.c
printenv.c
printf.c printf: short-circuit output when argument to %b includes \c 2016-01-31 22:23:05 +01:00
pwd.c
readlink.c
realpath.c
rm.c
rmdir.c
seq.c
shuf.c
sleep.c
sort.c sort: fix ENDCHAR handling in "-kSTART,N.ENDCHAR" 2015-10-19 19:27:26 +02:00
split.c
stat.c stat: make -f optional. This allows to build stat for non-linux systems 2015-10-30 22:10:44 +01:00
stty.c libbb: factor out code which queries screen width 2015-10-23 01:44:22 +02:00
sum.c
sync.c
tac.c
tail.c
tee.c
test_ptr_hack.c
test.c
touch.c
tr.c tr: support octal ranges 2015-10-26 17:18:07 +01:00
true.c
truncate.c truncate: use O_WRONLY|O_NONBLOCK 2016-01-13 13:30:20 -05:00
tty.c
uname.c
uniq.c build system: -fno-builtin-printf 2015-10-07 22:42:45 +02:00
unlink.c
usleep.c
uudecode.c uudecode: tolerate text input with CR+LF line ends 2015-10-05 15:10:44 +02:00
uuencode.c
wc.c
who.c build system: -fno-builtin-printf 2015-10-07 22:42:45 +02:00
whoami.c
yes.c