emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] /srv/bzr/emacs/trunk r111846: * net/tramp-sh.el (tramp-sh-


From: Michael Albinus
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r111846: * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
Date: Thu, 21 Feb 2013 14:36:16 +0100
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 111846
committer: Michael Albinus <address@hidden
branch nick: trunk
timestamp: Thu 2013-02-21 14:36:16 +0100
message:
  * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
  temporarily, via "env".
modified:
  lisp/ChangeLog
  lisp/net/tramp-sh.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2013-02-21 06:55:19 +0000
+++ b/lisp/ChangeLog    2013-02-21 13:36:16 +0000
@@ -1,3 +1,8 @@
+2013-02-21  Michael Albinus  <address@hidden>
+
+       * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
+       temporarily, via "env".
+
 2013-02-21  Glenn Morris  <address@hidden>
 
        * info.el (Info-enable-edit): Remove.

=== modified file 'lisp/net/tramp-sh.el'
--- a/lisp/net/tramp-sh.el      2013-02-19 03:29:28 +0000
+++ b/lisp/net/tramp-sh.el      2013-02-21 13:36:16 +0000
@@ -1410,7 +1410,7 @@
              (utc (not (featurep 'xemacs))))
          (tramp-send-command-and-check
           v (format "%s touch -t %s %s"
-                    (if utc "TZ=UTC; export TZ;" "")
+                    (if utc "env TZ=UTC" "")
                     (if utc
                         (format-time-string "%Y%m%d%H%M.%S" time t)
                       (format-time-string "%Y%m%d%H%M.%S" time))


reply via email to

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