summaryrefslogtreecommitdiff
path: root/lisp/ls-lisp.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/ls-lisp.el')
-rw-r--r--lisp/ls-lisp.el9
1 files changed, 1 insertions, 8 deletions
diff --git a/lisp/ls-lisp.el b/lisp/ls-lisp.el
index 66c56f0fcee..e802c2408f7 100644
--- a/lisp/ls-lisp.el
+++ b/lisp/ls-lisp.el
@@ -420,14 +420,7 @@ not contain `d', so that a full listing is expected."
attr (cdr elt)
file-size (file-attribute-size attr))
(and attr
- (setq sum (+ file-size
- ;; Even if neither SUM nor file's size
- ;; overflow, their sum could.
- (if (or (< sum (- 134217727 file-size))
- (floatp sum)
- (floatp file-size))
- sum
- (float sum))))
+ (setq sum (+ file-size sum))
(insert (ls-lisp-format short attr file-size
switches time-index))))
;; Insert total size of all files: