diff options
| author | Michael Albinus | 2010-11-13 11:08:21 +0100 |
|---|---|---|
| committer | Michael Albinus | 2010-11-13 11:08:21 +0100 |
| commit | cdf015b1880d94bc414188ec5980171adc48bed2 (patch) | |
| tree | a44d61a75b896dddf0f8a565a2882c05890b9998 | |
| parent | f0a698ab85a0eec6e720e7a5f12ac5cfdfd8857d (diff) | |
| download | emacs-cdf015b1880d94bc414188ec5980171adc48bed2.tar.gz emacs-cdf015b1880d94bc414188ec5980171adc48bed2.zip | |
* net/tramp.el (tramp-remote-coding-commands): Add an alternative
using "base64 -d -i". This is needed for older base64 versions
from GNU coreutils. Reported by Klaus Reichl
<Klaus.Reichl@thalesgroup.com>.
This must not be merged with the trunk.
| -rw-r--r-- | lisp/ChangeLog | 7 | ||||
| -rw-r--r-- | lisp/net/tramp.el | 6 |
2 files changed, 12 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index a86be128499..cb4dfb4651d 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2010-11-13 Michael Albinus <michael.albinus@gmx.de> | ||
| 2 | |||
| 3 | * net/tramp.el (tramp-remote-coding-commands): Add an alternative | ||
| 4 | using "base64 -d -i". This is needed for older base64 versions | ||
| 5 | from GNU coreutils. Reported by Klaus Reichl | ||
| 6 | <Klaus.Reichl@thalesgroup.com>. | ||
| 7 | |||
| 1 | 2010-11-13 Glenn Morris <rgm@gnu.org> | 8 | 2010-11-13 Glenn Morris <rgm@gnu.org> |
| 2 | 9 | ||
| 3 | * novice.el (disabled-command-function): | 10 | * novice.el (disabled-command-function): |
diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el index 17c8c074c46..e0f25ffd1f3 100644 --- a/lisp/net/tramp.el +++ b/lisp/net/tramp.el | |||
| @@ -7162,7 +7162,11 @@ and end of region, and are expected to replace the region contents | |||
| 7162 | with the encoded or decoded results, respectively.") | 7162 | with the encoded or decoded results, respectively.") |
| 7163 | 7163 | ||
| 7164 | (defconst tramp-remote-coding-commands | 7164 | (defconst tramp-remote-coding-commands |
| 7165 | '((b64 "base64" "base64 -d") | 7165 | '((b64 "base64" "base64 -d -i") |
| 7166 | ;; "-i" is more robust with older base64 from GNU coreutils. | ||
| 7167 | ;; However, I don't know whether all base64 versions do supports | ||
| 7168 | ;; this option. | ||
| 7169 | (b64 "base64" "base64 -d") | ||
| 7166 | (b64 "mimencode -b" "mimencode -u -b") | 7170 | (b64 "mimencode -b" "mimencode -u -b") |
| 7167 | (b64 "mmencode -b" "mmencode -u -b") | 7171 | (b64 "mmencode -b" "mmencode -u -b") |
| 7168 | (b64 "recode data..base64" "recode base64..data") | 7172 | (b64 "recode data..base64" "recode base64..data") |