+2008-04-05 Eli Zaretskii <eliz@gnu.org>
+
+ * ls-lisp.el (ls-lisp-format): Support inodes that are 2- or
+ 3-member cons cells.
+
2008-04-05 Chong Yidong <cyd@stupidchicken.com>
* cus-face.el (custom-face-attributes): Handle roman slant.
;; for symbolic link, or nil.
(drwxrwxrwx (nth 8 file-attr))) ; attribute string ("drwxrwxrwx")
(concat (if (memq ?i switches) ; inode number
- (format " %6d" (nth 10 file-attr)))
+ (let ((inode (nth 10 file-attr)))
+ (if (consp inode)
+ (if (consp (cdr inode))
+ (format " %17.0f "
+ (+ (* (car inode) 1099511627776.0)
+ (* (cadr inode) 65536.0)
+ (cddr inode)))
+ (format " %17.0f "
+ (+ (* (car inode) 65536.0)
+ (cdr inode))))
+ (format " %17d " inode))))
;; nil is treated like "" in concat
(if (memq ?s switches) ; size in K
(format " %4.0f" (fceiling (/ file-size 1024.0))))