]> git.eshelyaron.com Git - emacs.git/commit
Fix minor Tramp problems found on BSD
authorMichael Albinus <michael.albinus@gmx.de>
Sun, 6 Dec 2015 17:55:50 +0000 (18:55 +0100)
committerMichael Albinus <michael.albinus@gmx.de>
Sun, 6 Dec 2015 17:55:50 +0000 (18:55 +0100)
commit0e574ea35ea75fa91a38718966ffe6c17b8e93d8
treee0c14ac0d60f1d0e731b93cb4dd70249a1ef58b6
parentcca5629f7856d88de940da942acbf5ca7f95a944
Fix minor Tramp problems found on BSD

* lisp/net/tramp-sh.el (tramp-perl-file-truename): Do not append
trailing slash.  Quote apostrophes.
(tramp-sh-handle-file-truename): Do not append trailing slash in
the "ls" case.
(tramp-get-ls-command-with-w-option): New defun.
(tramp-do-file-attributes-with-ls)
(tramp-do-directory-files-and-attributes-with-stat): Use it.

* test/automated/tramp-tests.el
(tramp-test31-special-characters-with-perl)
(tramp-test31-special-characters-with-ls)
(tramp-test32-utf8-with-perl, tramp-test32-utf8-with-ls):
Suppress also readlink.
lisp/net/tramp-sh.el
test/automated/tramp-tests.el