]> git.eshelyaron.com Git - emacs.git/commit
Check directory in Tramp's {copy,rename}-file
authorMichael Albinus <michael.albinus@gmx.de>
Fri, 12 Jul 2019 13:10:57 +0000 (15:10 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Fri, 12 Jul 2019 13:10:57 +0000 (15:10 +0200)
commit955db220053778bd1e47ff9daf87896b7fd52a67
treed7e7b138ee69930467f6eb40e6d211c3521c2ac3
parent9f76913184c900534fa17311ff5b1af747ff6264
Check directory in Tramp's {copy,rename}-file

* lisp/net/tramp-adb.el (tramp-adb-handle-copy-file)
(tramp-adb-handle-rename-file):
* lisp/net/tramp-gvfs.el (tramp-gvfs-do-copy-or-rename-file):
* lisp/net/tramp-rclone.el (tramp-rclone-do-copy-or-rename-file):
* lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file):
* lisp/net/tramp-smb.el (tramp-smb-handle-copy-file)
(tramp-smb-handle-rename-file):
* lisp/net/tramp-sudoedit.el (tramp-sudoedit-do-copy-or-rename-file):
Check, that NEWNAME is not a directory given as file name.

* test/lisp/net/tramp-tests.el (tramp-test11-copy-file)
(tramp-test12-rename-file): Extend tests.
lisp/net/tramp-adb.el
lisp/net/tramp-gvfs.el
lisp/net/tramp-rclone.el
lisp/net/tramp-sh.el
lisp/net/tramp-smb.el
lisp/net/tramp-sudoedit.el
test/lisp/net/tramp-tests.el