aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Albinus2014-12-24 09:58:49 +0100
committerMichael Albinus2014-12-24 09:58:49 +0100
commit216c6aadf22bfb9d209b6ce9a469499fd6e1b78f (patch)
tree14d0ce4edce7ac86506f3fc22c8146357e13c62e
parent20cfd2480d75679da33958ea258143a313911712 (diff)
downloademacs-216c6aadf22bfb9d209b6ce9a469499fd6e1b78f.tar.gz
emacs-216c6aadf22bfb9d209b6ce9a469499fd6e1b78f.zip
* net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
Use `tramp-rsh-end-of-line', it ought to be more robust.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/net/tramp-sh.el8
2 files changed, 8 insertions, 5 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 789f59e1b42..22728121a15 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12014-12-24 Michael Albinus <michael.albinus@gmx.de>
2
3 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
4 Use `tramp-rsh-end-of-line', it ought to be more robust.
5
12014-12-23 Stefan Monnier <monnier@iro.umontreal.ca> 62014-12-23 Stefan Monnier <monnier@iro.umontreal.ca>
2 7
3 * progmodes/js.el (js-syntax-propertize): "return" can't be divided 8 * progmodes/js.el (js-syntax-propertize): "return" can't be divided
diff --git a/lisp/net/tramp-sh.el b/lisp/net/tramp-sh.el
index a78d101e3c1..444c9a73052 100644
--- a/lisp/net/tramp-sh.el
+++ b/lisp/net/tramp-sh.el
@@ -2456,11 +2456,9 @@ The method used must be an out-of-band method."
2456 (tramp-set-connection-property p "vector" orig-vec) 2456 (tramp-set-connection-property p "vector" orig-vec)
2457 (tramp-compat-set-process-query-on-exit-flag p nil) 2457 (tramp-compat-set-process-query-on-exit-flag p nil)
2458 2458
2459 ;; When `shell-file-name' is "cmdproxy", we must adapt 2459 ;; We must adapt `tramp-local-end-of-line' for
2460 ;; `tramp-local-end-of-line' for sending the password. 2460 ;; sending the password.
2461 (let ((tramp-local-end-of-line 2461 (let ((tramp-local-end-of-line tramp-rsh-end-of-line))
2462 (if (string-match "cmdproxy" shell-file-name)
2463 "\n" tramp-local-end-of-line)))
2464 (tramp-process-actions 2462 (tramp-process-actions
2465 p v nil tramp-actions-copy-out-of-band)) 2463 p v nil tramp-actions-copy-out-of-band))
2466 2464