# HG changeset patch # User Michael Albinus # Date 1289642901 -3600 # Node ID 2529e302a86e4d7427f20dcb41e164d84fea8545 # Parent 26c02ba5ddb48d232b8aec8ad850a9bd4e1619c0 * 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 . This must not be merged with the trunk. diff -r 26c02ba5ddb4 -r 2529e302a86e lisp/ChangeLog --- a/lisp/ChangeLog Sat Nov 13 01:16:18 2010 -0800 +++ b/lisp/ChangeLog Sat Nov 13 11:08:21 2010 +0100 @@ -1,3 +1,10 @@ +2010-11-13 Michael Albinus + + * 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 + . + 2010-11-13 Glenn Morris * novice.el (disabled-command-function): diff -r 26c02ba5ddb4 -r 2529e302a86e lisp/net/tramp.el --- a/lisp/net/tramp.el Sat Nov 13 01:16:18 2010 -0800 +++ b/lisp/net/tramp.el Sat Nov 13 11:08:21 2010 +0100 @@ -7162,7 +7162,11 @@ with the encoded or decoded results, respectively.") (defconst tramp-remote-coding-commands - '((b64 "base64" "base64 -d") + '((b64 "base64" "base64 -d -i") + ;; "-i" is more robust with older base64 from GNU coreutils. + ;; However, I don't know whether all base64 versions do supports + ;; this option. + (b64 "base64" "base64 -d") (b64 "mimencode -b" "mimencode -u -b") (b64 "mmencode -b" "mmencode -u -b") (b64 "recode data..base64" "recode base64..data")