diff options
author | Erik Andersen <andersen@codepoet.org> | 2000-01-27 05:40:21 +0300 |
---|---|---|
committer | Erik Andersen <andersen@codepoet.org> | 2000-01-27 05:40:21 +0300 |
commit | ccc7488615f0079032d8b017f57e6bf6a994cf84 (patch) | |
tree | 4f4f709ad3b66e3f94fabd3567eb85df9e935393 | |
parent | de7965ca7ee65f21042739f1be5a337da4138343 (diff) |
Fixed ls formatting for 8 char user names.
-Erik
-rw-r--r-- | Changelog | 1 | ||||
-rw-r--r-- | coreutils/ls.c | 2 | ||||
-rw-r--r-- | init.c | 1 | ||||
-rw-r--r-- | init/init.c | 1 | ||||
-rw-r--r-- | ls.c | 2 |
5 files changed, 5 insertions, 2 deletions
@@ -37,6 +37,7 @@ * Fixed mount and umount. Previously they could leak loop device allocations, causing the system to quickly run out. Fix for umount by Ben Collins <bcollins@debian.org>, and mount was fixed by me. + * ls formatting on 8 char user names fixed by Randolph Chung <tausq@debian.org>. -Erik Andersen diff --git a/coreutils/ls.c b/coreutils/ls.c index 862da4368..78193e7c1 100644 --- a/coreutils/ls.c +++ b/coreutils/ls.c @@ -198,7 +198,7 @@ static void list_single(const char *name, struct stat *info, const char *fullnam if (*scratch) { fputs(scratch, stdout); if ( strlen( scratch) <= 8 ) - wr(" ", 8-strlen( scratch)); + wr(" ", 9-strlen( scratch)); } else { writenum((long) info->st_uid,(short)8); @@ -1,3 +1,4 @@ +/* vi: set sw=4 ts=4: */ /* * Mini init implementation for busybox * diff --git a/init/init.c b/init/init.c index 09540ff01..dd92854b4 100644 --- a/init/init.c +++ b/init/init.c @@ -1,3 +1,4 @@ +/* vi: set sw=4 ts=4: */ /* * Mini init implementation for busybox * @@ -198,7 +198,7 @@ static void list_single(const char *name, struct stat *info, const char *fullnam if (*scratch) { fputs(scratch, stdout); if ( strlen( scratch) <= 8 ) - wr(" ", 8-strlen( scratch)); + wr(" ", 9-strlen( scratch)); } else { writenum((long) info->st_uid,(short)8); |