[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/net/tramp.el
From: |
Michael Albinus |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/net/tramp.el |
Date: |
Wed, 01 Feb 2006 22:26:46 +0000 |
Index: emacs/lisp/net/tramp.el
diff -u emacs/lisp/net/tramp.el:1.85 emacs/lisp/net/tramp.el:1.86
--- emacs/lisp/net/tramp.el:1.85 Sun Jan 22 21:59:54 2006
+++ emacs/lisp/net/tramp.el Wed Feb 1 22:26:45 2006
@@ -6766,13 +6766,14 @@
"Convert file-attributes ATTR generated by perl script or ls.
Convert file mode bits to string and set virtual device number.
Return ATTR."
+ ;; Convert file mode bits to string.
(unless (stringp (nth 8 attr))
- ;; Convert file mode bits to string.
(setcar (nthcdr 8 attr) (tramp-file-mode-from-int (nth 8 attr))))
- ;; Set file's gid change bit.
- (setcar (nthcdr 9 attr)
- (not (= (nth 3 attr)
- (tramp-get-remote-gid multi-method method user host))))
+ ;; Set file's gid change bit. Possible only when id-format is 'integer.
+ (when (numberp (nth 3 attr))
+ (setcar (nthcdr 9 attr)
+ (not (= (nth 3 attr)
+ (tramp-get-remote-gid multi-method method user host)))))
;; Set virtual device number.
(setcar (nthcdr 11 attr)
(tramp-get-device multi-method method user host))
- [Emacs-diffs] Changes to emacs/lisp/net/tramp.el,
Michael Albinus <=