diff options
author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-06-30 18:08:36 +0000 |
---|---|---|
committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-06-30 18:08:36 +0000 |
commit | b5a2983ba28f379a1bf5b5330c2f19d418d3a109 (patch) | |
tree | f6201d5cd3b9a1eb372f7cfcd8957dcd1339cc55 /libbb | |
parent | 73f418450745ea65ffd0a8d998cb9c03c7d92b49 (diff) | |
download | busybox-w32-b5a2983ba28f379a1bf5b5330c2f19d418d3a109.tar.gz busybox-w32-b5a2983ba28f379a1bf5b5330c2f19d418d3a109.tar.bz2 busybox-w32-b5a2983ba28f379a1bf5b5330c2f19d418d3a109.zip |
Generalize comment -- no longer ls specific
git-svn-id: svn://busybox.net/trunk/busybox@2961 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'libbb')
-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 |