tramp-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Trival patch for multi-hops against CVS Emacs


From: Nikodemus Siivola
Subject: Trival patch for multi-hops against CVS Emacs
Date: Sun, 27 Aug 2006 16:43:00 +0300
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

The following patch agains CVS Emacs is necessary for me to get
multi-hops in to work, as the return value of TRAMP-GET-REMOTE-GID
seems to initially be 'ILLEGAL, which makes = barf.

Cheers,

  -- Nikodemus              Schemer: "Buddha is small, clean, and serious."
                   Lispnik: "Buddha is big, has hairy armpits, and laughs."

Index: lisp/net/tramp.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/net/tramp.el,v
retrieving revision 1.100
diff -u -r1.100 tramp.el
--- lisp/net/tramp.el   2 Jul 2006 20:29:20 -0000       1.100
+++ lisp/net/tramp.el   27 Aug 2006 13:33:13 -0000
@@ -6749,8 +6749,8 @@
   ;; 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)))))
+           (not (eql (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))




reply via email to

[Prev in Thread] Current Thread [Next in Thread]