Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emacs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
emacs
emacs
Commits
7fcdabdc
Commit
7fcdabdc
authored
Jan 21, 2019
by
Michael Albinus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* lisp/net/tramp-sh.el (tramp-set-remote-path): Fix usage of tmpfile.
parent
e5ef4c66
Pipeline
#581
passed with stage
in 50 minutes and 38 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
lisp/net/tramp-sh.el
lisp/net/tramp-sh.el
+4
-2
No files found.
lisp/net/tramp-sh.el
View file @
7fcdabdc
...
...
@@ -3973,9 +3973,11 @@ variable PATH."
(
if
(
<
(
length
command
)
pipe-buf
)
(
tramp-send-command
vec
command
)
;; Use a temporary file.
(
setq
tmpfile
(
tramp-make-tramp-temp-file
vec
))
(
setq
tmpfile
(
tramp-make-tramp-file-name
vec
(
tramp-make-tramp-temp-file
vec
)))
(
write-region
command
nil
tmpfile
)
(
tramp-send-command
vec
(
format
". %s"
tmpfile
))
(
tramp-send-command
vec
(
format
". %s"
(
tramp-compat-file-local-name
tmpfile
)))
(
delete-file
tmpfile
))))
;; ------------------------------------------------------------
...
...
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