projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4c2aa4
)
Fix bug#60060 in Tramp
author
Michael Albinus
<michael.albinus@gmx.de>
Thu, 15 Dec 2022 15:37:16 +0000
(16:37 +0100)
committer
Michael Albinus
<michael.albinus@gmx.de>
Thu, 15 Dec 2022 15:37:16 +0000
(16:37 +0100)
* lisp/net/tramp-sh.el (tramp-sh-handle-file-local-copy):
Delete `tmpfile' in case of error. (Bug#60060)
lisp/net/tramp-sh.el
patch
|
blob
|
history
diff --git
a/lisp/net/tramp-sh.el
b/lisp/net/tramp-sh.el
index df5800f4e9d2c8e8d9b035338cbfa6b299ccf09c..6087f16431e643bc4d09cf7d258b5391b6c38ece 100644
(file)
--- a/
lisp/net/tramp-sh.el
+++ b/
lisp/net/tramp-sh.el
@@
-3431,6
+3431,7
@@
implementation will be used."
(signal (car err) (cdr err)))))
;; Impossible to copy. Trigger `file-missing' error.
+ (delete-file tmpfile)
(setq tmpfile nil))))
(defun tramp-sh-handle-write-region