i reported the following to the debian bug tracking system in october.
i'm not sure if it still applies to current cvs (was against 2.0.22)

 (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=164032)


tramp-handle-file-newer-than-file-p uses a nonexistent function (on
xemacs 21) "subtract-time"

luckily tramp already has a wrapper for this function
"tramp-time-diff", so this can presumably (i haven't actually tried)
be replaced with a call to that instead.

ie:

           (let ((fa1 (file-attributes file1))
                 (fa2 (file-attributes file2)))
             (if (and (not (equal (nth 5 fa1) '(0 0)))
                      (not (equal (nth 5 fa2) '(0 0))))
-                (> 0 (car (subtract-time (nth 5 fa1) (nth 5 fa2))))
+                (> 0 (tramp-time-diff (nth 5 fa1) (nth 5 fa2)))
               ;; If one of them is the dont-know value, then we can
               ;; still try to run a shell command on the remote host.
               ;; However, this only works if both files are Tramp
               ;; files and both have the same method, same user, same


-- 
 - Gus


_______________________________________________
Tramp-devel mailing list
[EMAIL PROTECTED]
http://mail.nongnu.org/mailman/listinfo/tramp-devel

Reply via email to