Commit 8158337c authored by Michael Albinus's avatar Michael Albinus

Fix Bug#40156 in Tramp

* lisp/net/tramp-sh.el (tramp-sh-handle-write-region): Copy to temp file
only if FILENAME exists.  (Bug#40156)

* test/lisp/net/tramp-tests.el (tramp-test10-write-region): Extend test.
parent 0a22747c
Pipeline #5059 failed with stage
in 67 minutes and 20 seconds