]> git.eshelyaron.com Git - emacs.git/commit
Preserve backward compatibility in Tramp
authorMichael Albinus <michael.albinus@gmx.de>
Wed, 14 Jul 2021 16:36:14 +0000 (18:36 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Wed, 14 Jul 2021 16:36:14 +0000 (18:36 +0200)
commit525d5cab36fe7e719ecc49b88a1ac68abbe7924c
treed5735304483b2bb668946aa0ee4ed2d860716c3b
parentf45710e1ddf0f3a1470f6bc3a1116afd841de41a
Preserve backward compatibility in Tramp

* lisp/net/tramp-crypt.el (tramp-crypt-handle-lock-file)
(tramp-crypt-handle-unlock-file): Preserve backward compatibility.

* lisp/net/tramp-sh.el (tramp-sh-handle-write-region): Do not
create lock file twice.

* lisp/net/tramp.el (tramp-handle-make-lock-file-name): Move lock
file security check ...
(tramp-handle-lock-file): ... here.
(tramp-handle-unlock-file): Preserve backward compatibility.

* test/lisp/net/tramp-tests.el (lock-file-name-transforms)
(remote-file-name-inhibit-locks): Declare.
(tramp-allow-unsafe-temporary-files): Set to t.
(tramp-test37-make-auto-save-file-name)
(tramp-test38-find-backup-file-name): Move binding of
`tramp-allow-unsafe-temporary-files' up.
(tramp-test39-lock-file): Bind `tramp-allow-unsafe-temporary-files'.
Preserve backward compatibility.  Extend test.
lisp/net/tramp-crypt.el
lisp/net/tramp-sh.el
lisp/net/tramp.el
test/lisp/net/tramp-tests.el