emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: master 2b97e83cc1 2/2: Fix off-by-one file size formatting in ls-lis


From: Eli Zaretskii
Subject: Re: master 2b97e83cc1 2/2: Fix off-by-one file size formatting in ls-lisp
Date: Sun, 13 Feb 2022 14:55:09 +0200

> From: Lars Ingebrigtsen <larsi@gnus.org>
> Cc: Rudolf Adamkovič <salutis@me.com>,
>   monnier@iro.umontreal.ca,
>   emacs-devel@gnu.org
> Date: Sun, 13 Feb 2022 13:36:50 +0100
> 
> Like I said in an earlier post, my test file is 1029204 bytes.
> 
> (file-size-human-readable 1029204)
> -> "1005.1k"

Ah, okay.  So you want to lose accuracy in these cases and just throw
away the fractional part?  Why?

I'm quite sure "ls -lh" still does that, albeit perhaps not with this
specific size.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]