diff lisp/ls-lisp.el @ 24436:e5af0407bcd6

(ls-lisp-format): Under -s, print the size in blocks with %4.0f, in case they have a *really* huge file.
author Eli Zaretskii <eliz@gnu.org>
date Thu, 04 Mar 1999 11:34:47 +0000
parents 3b5ee0390edd
children 809c3c8f6b77
line wrap: on
line diff
--- a/lisp/ls-lisp.el	Thu Mar 04 11:30:27 1999 +0000
+++ b/lisp/ls-lisp.el	Thu Mar 04 11:34:47 1999 +0000
@@ -257,7 +257,7 @@
 		(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.