Generalize comment -- no longer ls specific
This commit is contained in:
parent
7e516797f9
commit
0159597bd6
@ -13,10 +13,9 @@
|
|||||||
* representations (say, powers of 1024) and manipulating coefficients.
|
* representations (say, powers of 1024) and manipulating coefficients.
|
||||||
* The base ten "bytes" output could be handled similarly.
|
* The base ten "bytes" output could be handled similarly.
|
||||||
*
|
*
|
||||||
* 2) The output of "ls -sh" can be misaligned because this routine always
|
* 2) This routine always outputs a decimal point and a tenths digit when
|
||||||
* outputs a decimal point and a tenths digit when display_unit != 0.
|
* display_unit != 0. Hence, it isn't uncommon for the returned string
|
||||||
* Hence, it isn't uncommon for the returned string to have a length
|
* to have a length of 5 or 6.
|
||||||
* of 5 or 6 instead of <= 4 (as assumed).
|
|
||||||
*
|
*
|
||||||
* It might be nice to add a flag to indicate no decimal digits in
|
* It might be nice to add a flag to indicate no decimal digits in
|
||||||
* that case. This could be either an additional parameter, or a
|
* that case. This could be either an additional parameter, or a
|
||||||
|
Loading…
x
Reference in New Issue
Block a user