• Michael Albinus's avatar
    Check directory in Tramp's {copy,rename}-file · 955db220
    Michael Albinus authored
    * 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.
    955db220
tramp-smb.el 76.8 KB