[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-29 8256bf4cdfb: Fix CRLF handling in Tramp (don't merge)
From: |
Michael Albinus |
Subject: |
emacs-29 8256bf4cdfb: Fix CRLF handling in Tramp (don't merge) |
Date: |
Wed, 22 Nov 2023 07:29:31 -0500 (EST) |
branch: emacs-29
commit 8256bf4cdfbdc12838c20b00edcaedddcdf08a32
Author: Michael Albinus <michael.albinus@gmx.de>
Commit: Michael Albinus <michael.albinus@gmx.de>
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>.
---
lisp/net/tramp-sh.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/net/tramp-sh.el b/lisp/net/tramp-sh.el
index 7dc75cb337a..aa1d025bf19 100644
--- a/lisp/net/tramp-sh.el
+++ b/lisp/net/tramp-sh.el
@@ -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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs-29 8256bf4cdfb: Fix CRLF handling in Tramp (don't merge),
Michael Albinus <=