Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
3277c1ee
Commit
3277c1ee
authored
Jul 11, 2010
by
Michael Albinus
Browse files
* net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
empty argument to gvfs-copy.
parent
6a8033e1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
5 deletions
+13
-5
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/net/tramp-gvfs.el
lisp/net/tramp-gvfs.el
+8
-5
No files found.
lisp/ChangeLog
View file @
3277c1ee
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
...
...
lisp/net/tramp-gvfs.el
View file @
3277c1ee
...
...
@@ -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
)))))))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment