[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tramp (2.2.13.25.2); setting GZIP environment variable breaks tramp
From: |
Michael Albinus |
Subject: |
Re: tramp (2.2.13.25.2); setting GZIP environment variable breaks tramp |
Date: |
Fri, 26 Oct 2018 23:42:09 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Francesco Potortì <address@hidden> writes:
Hi Francesco,
> If you decide on either and send me a patch I can try that.
I plan to apply the following patch:
diff --git a/lisp/tramp-sh.el b/lisp/tramp-sh.el
index 3f83697..19773e3 100644
--- a/lisp/tramp-sh.el
+++ b/lisp/tramp-sh.el
@@ -4436,7 +4436,8 @@ means discard it)."
(if (stringp output) (concat " >" output) ""))))
(defconst tramp-inline-compress-commands
- '(("gzip" "gzip -d")
+ '(;; Suppress warnings about obsolete env variable GZIP.
+ ("env GZIP= gzip" "env GZIP= gzip -d")
("bzip2" "bzip2 -d")
("xz" "xz -d")
("compress" "compress -d"))
I don't see a regression with this. You could test it locally in your
environment (line numbers of the patch might be different to what you
see).
Best regards, Michael.