summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-06-30 18:08:36 +0000
committerEric Andersen <andersen@codepoet.org>2001-06-30 18:08:36 +0000
commit0159597bd6d1ed98c8b1067f59a1e5008ed0169d (patch)
treef6201d5cd3b9a1eb372f7cfcd8957dcd1339cc55
parent7e516797f973fdf8535284606af101339f2e6be4 (diff)
downloadbusybox-w32-0159597bd6d1ed98c8b1067f59a1e5008ed0169d.tar.gz
busybox-w32-0159597bd6d1ed98c8b1067f59a1e5008ed0169d.tar.bz2
busybox-w32-0159597bd6d1ed98c8b1067f59a1e5008ed0169d.zip
Generalize comment -- no longer ls specific
-rw-r--r--libbb/human_readable.c7
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