Commit 3277c1ee authored by Michael Albinus's avatar Michael Albinus
Browse files

* net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass

empty argument to gvfs-copy.
parent 6a8033e1
2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
* net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
empty argument to gvfs-copy.
2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
* progmodes/compile.el (compilation-error-regexp-alist-alist): Add
......
......@@ -551,11 +551,14 @@ is no information where to trace the message.")
(tramp-message v 4 "`copy-file' failed, trying `gvfs-copy'")
(unless
(zerop
(tramp-gvfs-send-command
v "gvfs-copy"
(if (or keep-date preserve-uid-gid) "--preserve" "")
(tramp-gvfs-url-file-name filename)
(tramp-gvfs-url-file-name newname)))
(let ((args
(append (if (or keep-date preserve-uid-gid)
(list "--preserve")
nil)
(list
(tramp-gvfs-url-file-name filename)
(tramp-gvfs-url-file-name newname)))))
(apply 'tramp-gvfs-send-command v "gvfs-copy" args)))
;; Propagate the error.
(tramp-error v (car err) "%s" (cdr err)))))))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment