Fix CRLF handling in Tramp (don't merge)
* lisp/net/tramp-sh.el (tramp-send-command-and-read): Use 'space' instead of 'blank' in rx expression, in order to handle also CR and alike. Reported by Dominique Quatravaux <dominique@quatravaux.org>.
This commit is contained in:
parent
81b63ec032
commit
8256bf4cdf
1 changed files with 1 additions and 1 deletions
|
@ -5509,7 +5509,7 @@ raises an error."
|
|||
(unless noerror signal-hook-function)))
|
||||
(read (current-buffer)))
|
||||
;; Error handling.
|
||||
(when (re-search-forward (rx (not blank)) (line-end-position) t)
|
||||
(when (re-search-forward (rx (not space)) (line-end-position) t)
|
||||
(error nil)))
|
||||
(error (unless noerror
|
||||
(tramp-error
|
||||
|
|
Loading…
Add table
Reference in a new issue