(ls-lisp-format): Under -s, print the size in blocks with %4.0f, in case

they have a *really* huge file.
This commit is contained in:
Eli Zaretskii 1999-03-04 11:34:47 +00:00
parent df6efcb120
commit e4a225a97d

View file

@ -257,7 +257,7 @@ are: A a c i r S s t u"
(format "%6d " (nth 10 file-attr)))
;; nil is treated like "" in concat
(if (memq ?s switches) ; size in K
(format "%4d " (fceiling (/ file-size 1024.0))))
(format "%4.0f " (fceiling (/ file-size 1024.0))))
(nth 8 file-attr) ; permission bits
;; numeric uid/gid are more confusing than helpful
;; Emacs should be able to make strings of them.