1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-19 12:30:47 -07:00

* net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only

temporarily, via "env".
This commit is contained in:
Michael Albinus 2013-02-21 14:36:16 +01:00
parent 5313bbc771
commit 886bae77f0
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2013-02-21 Michael Albinus <michael.albinus@gmx.de>
* net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
temporarily, via "env".
2013-02-21 Glenn Morris <rgm@gnu.org>
* info.el (Info-enable-edit): Remove.

View file

@ -1410,7 +1410,7 @@ of."
(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))