diff options
-rw-r--r-- | libbb/human_readable.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/libbb/human_readable.c b/libbb/human_readable.c index 548712c75..7bdad36a9 100644 --- a/libbb/human_readable.c +++ b/libbb/human_readable.c | |||
@@ -13,10 +13,9 @@ | |||
13 | * representations (say, powers of 1024) and manipulating coefficients. | 13 | * representations (say, powers of 1024) and manipulating coefficients. |
14 | * The base ten "bytes" output could be handled similarly. | 14 | * The base ten "bytes" output could be handled similarly. |
15 | * | 15 | * |
16 | * 2) The output of "ls -sh" can be misaligned because this routine always | 16 | * 2) This routine always outputs a decimal point and a tenths digit when |
17 | * outputs a decimal point and a tenths digit when display_unit != 0. | 17 | * display_unit != 0. Hence, it isn't uncommon for the returned string |
18 | * Hence, it isn't uncommon for the returned string to have a length | 18 | * to have a length of 5 or 6. |
19 | * of 5 or 6 instead of <= 4 (as assumed). | ||
20 | * | 19 | * |
21 | * It might be nice to add a flag to indicate no decimal digits in | 20 | * It might be nice to add a flag to indicate no decimal digits in |
22 | * that case. This could be either an additional parameter, or a | 21 | * that case. This could be either an additional parameter, or a |