]> git.eshelyaron.com Git - emacs.git/commit
Fix Tramp problem with loooongish file names
authorMichael Albinus <michael.albinus@gmx.de>
Fri, 4 Apr 2025 12:29:00 +0000 (14:29 +0200)
committerEshel Yaron <me@eshelyaron.com>
Tue, 8 Apr 2025 05:36:31 +0000 (07:36 +0200)
commit331f3d2db15205277360039b8ffd9f6f65af23a2
treeb84b86c3e6aff11ebd7769fc9b806d9317b8e66e
parent92f0702548bebdb65f0a843b15dca972762fa55f
Fix Tramp problem with loooongish file names

* lisp/net/tramp-sh.el (tramp-readlink-file-truename): New defconst.
(tramp-bundle-read-file-names): Use new %m and %q format specifiers.
(tramp-sh-handle-file-truename): Use `tramp-readlink-file-truename'.
(tramp-bundle-read-file-names, tramp-get-remote-readlink): Simplify.
(tramp-expand-script): Add format specifiers %m and %q for test
commands.  Addapt readlink call.
Reported by Stacey Marshall <stacey.marshall@gmail.com>.

(cherry picked from commit 99d70ce6c265744b21e1ffe6c034ded833917139)
lisp/net/tramp-sh.el