emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master eb20d01 1/2: Fix bug#49699


From: Michael Albinus
Subject: master eb20d01 1/2: Fix bug#49699
Date: Fri, 23 Jul 2021 14:31:00 -0400 (EDT)

branch: master
commit eb20d013a1717a0ecc6ee3563e69261aaf7c98eb
Author: Alex Bochannek <alex@bochannek.com>
Commit: Michael Albinus <michael.albinus@gmx.de>

    Fix bug#49699
    
    * lisp/net/tramp-sh.el (tramp-scp-strict-file-name-checking):
    Adapt check for macOS.  (Bug#49699)
---
 lisp/net/tramp-sh.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/lisp/net/tramp-sh.el b/lisp/net/tramp-sh.el
index 8b4c78f..f945083 100644
--- a/lisp/net/tramp-sh.el
+++ b/lisp/net/tramp-sh.el
@@ -4782,7 +4782,9 @@ Goes through the list `tramp-inline-compress-commands'."
              (with-temp-buffer
                (tramp-call-process vec "scp" nil t nil "-T")
                (goto-char (point-min))
-               (unless (search-forward-regexp "unknown option -- T" nil t)
+               (unless
+                    (search-forward-regexp
+                     "\\(illegal\\|unknown\\) option -- T" nil t)
                  (setq tramp-scp-strict-file-name-checking "-T")))))))
       tramp-scp-strict-file-name-checking)))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]