Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
f628e17c
Commit
f628e17c
authored
Apr 11, 2014
by
Michael Albinus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
name twice due to backticks. (Bug#17238)
parent
95765a6a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/net/tramp-sh.el
lisp/net/tramp-sh.el
+3
-1
No files found.
lisp/ChangeLog
View file @
f628e17c
2014-04-11 Michael Albinus <michael.albinus@gmx.de>
* net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
name twice due to backticks. (Bug#17238)
2014-04-11 Glenn Morris <rgm@gnu.org>
* term/w32-win.el (x-win-suspend-error):
...
...
lisp/net/tramp-sh.el
View file @
f628e17c
...
...
@@ -950,13 +950,15 @@ target of the symlink differ."
(
tramp-message
v
4
"Finding true name for `%s'"
filename
)
(
cond
;; Use GNU readlink --canonicalize-missing where available.
;; We must quote the file name twice due to the backticks.
((
tramp-get-remote-readlink
v
)
(
setq
result
(
tramp-send-command-and-read
v
(
format
"echo \"\\\"`%s --canonicalize-missing %s`\\\"\""
(
tramp-get-remote-readlink
v
)
(
tramp-shell-quote-argument
localname
)))))
(
tramp-shell-quote-argument
(
tramp-shell-quote-argument
localname
))))))
;; Use Perl implementation.
((
and
(
tramp-get-remote-perl
v
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment