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:
@@ -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++;
|
||||
|
||||
Reference in New Issue
Block a user