ls: make it so that group never glues itself to file size

+ smaller enhancements: inode is long long; -h is a bit narrower; etc

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2010-01-18 01:55:00 +01:00
parent b972f94957
commit 9c3b84a304
4 changed files with 52 additions and 31 deletions

View File

@@ -58,7 +58,7 @@ const char* FAST_FUNC make_human_readable_str(unsigned long long val,
/* will just print it as ulonglong (below) */
} else {
while ((val >= 1024)
/* && (u < unit_chars + sizeof(unit_chars) - 1) - never happens */
/* && (u < unit_chars + sizeof(unit_chars) - 1) - always true */
) {
fmt = "%llu.%u%c";
u++;