aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog7
-rw-r--r--lisp/net/tramp.el20
2 files changed, 19 insertions, 8 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 630e4a40ae6..14f2c91ee14 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,10 @@
12002-08-03 Kai Gro,b_(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
2
3 * net/tramp.el: Version 2.0.7.
4 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
5 (tramp-perl-encode, tramp-perl-decode): Escape `%' characters
6 because of `format' and say so in the docstring.
7
12002-08-03 Glenn Morris <gmorris@ast.cam.ac.uk> 82002-08-03 Glenn Morris <gmorris@ast.cam.ac.uk>
2 9
3 * progmodes/f90.el (f90-font-lock-keywords-1): Fix highlighting of 10 * progmodes/f90.el (f90-font-lock-keywords-1): Fix highlighting of
diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el
index e6a13a07489..6dfe7a7ec9c 100644
--- a/lisp/net/tramp.el
+++ b/lisp/net/tramp.el
@@ -72,7 +72,7 @@
72;; In the Tramp CVS repository, the version numer is auto-frobbed from 72;; In the Tramp CVS repository, the version numer is auto-frobbed from
73;; the Makefile, so you should edit the top-level Makefile to change 73;; the Makefile, so you should edit the top-level Makefile to change
74;; the version number. 74;; the version number.
75(defconst tramp-version "2.0.6" 75(defconst tramp-version "2.0.7"
76 "This version of tramp.") 76 "This version of tramp.")
77 77
78(defconst tramp-bug-report-address "tramp-devel@mail.freesoftware.fsf.org" 78(defconst tramp-bug-report-address "tramp-devel@mail.freesoftware.fsf.org"
@@ -1244,6 +1244,7 @@ on the remote file system.")
1244 "perl -MMIME::Base64 -0777 -ne 'print encode_base64($_)'" 1244 "perl -MMIME::Base64 -0777 -ne 'print encode_base64($_)'"
1245 "Perl program to use for encoding a file. 1245 "Perl program to use for encoding a file.
1246Escape sequence %s is replaced with name of Perl binary. 1246Escape sequence %s is replaced with name of Perl binary.
1247This string is passwd to `format', so percent characters need to be doubled.
1247This implementation requires the MIME::Base64 Perl module to be installed 1248This implementation requires the MIME::Base64 Perl module to be installed
1248on the remote host.") 1249on the remote host.")
1249 1250
@@ -1251,6 +1252,7 @@ on the remote host.")
1251 "perl -MMIME::Base64 -0777 -ne 'print decode_base64($_)'" 1252 "perl -MMIME::Base64 -0777 -ne 'print decode_base64($_)'"
1252 "Perl program to use for decoding a file. 1253 "Perl program to use for decoding a file.
1253Escape sequence %s is replaced with name of Perl binary. 1254Escape sequence %s is replaced with name of Perl binary.
1255This string is passwd to `format', so percent characters need to be doubled.
1254This implementation requires the MIME::Base64 Perl module to be installed 1256This implementation requires the MIME::Base64 Perl module to be installed
1255on the remote host.") 1257on the remote host.")
1256 1258
@@ -1260,7 +1262,7 @@ on the remote host.")
1260# Copyright (C) 2002 Free Software Foundation, Inc. 1262# Copyright (C) 2002 Free Software Foundation, Inc.
1261use strict; 1263use strict;
1262 1264
1263my %trans = do { 1265my %%trans = do {
1264 my $i = 0; 1266 my $i = 0;
1265 map {(substr(unpack(q(B8), chr $i++), 2, 6), $_)} 1267 map {(substr(unpack(q(B8), chr $i++), 2, 6), $_)}
1266 split //, q(ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/); 1268 split //, q(ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/);
@@ -1277,7 +1279,7 @@ while (my $data = <STDIN>) {
1277 1279
1278 # Only for the last chunk, and only if did not fill the last three-byte packet 1280 # Only for the last chunk, and only if did not fill the last three-byte packet
1279 if (eof) { 1281 if (eof) {
1280 my $mod = length($data) % 3; 1282 my $mod = length($data) %% 3;
1281 $pad = q(=) x (3 - $mod) if $mod; 1283 $pad = q(=) x (3 - $mod) if $mod;
1282 } 1284 }
1283 1285
@@ -1293,7 +1295,8 @@ while (my $data = <STDIN>) {
1293} 1295}
1294'" 1296'"
1295 "Perl program to use for encoding a file. 1297 "Perl program to use for encoding a file.
1296Escape sequence %s is replaced with name of Perl binary.") 1298Escape sequence %s is replaced with name of Perl binary.
1299This string is passwd to `format', so percent characters need to be doubled.")
1297 1300
1298(defvar tramp-perl-decode 1301(defvar tramp-perl-decode
1299 "%s -e ' 1302 "%s -e '
@@ -1301,13 +1304,13 @@ Escape sequence %s is replaced with name of Perl binary.")
1301# Copyright (C) 2002 Free Software Foundation, Inc. 1304# Copyright (C) 2002 Free Software Foundation, Inc.
1302use strict; 1305use strict;
1303 1306
1304my %trans = do { 1307my %%trans = do {
1305 my $i = 0; 1308 my $i = 0;
1306 map {($_, sprintf(q(%06b), $i++))} 1309 map {($_, sprintf(q(%%06b), $i++))}
1307 split //, q(ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/) 1310 split //, q(ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/)
1308}; 1311};
1309 1312
1310my %bytes = map {(unpack(q(B8), chr $_), chr $_)} 0 .. 255; 1313my %%bytes = map {(unpack(q(B8), chr $_), chr $_)} 0 .. 255;
1311 1314
1312binmode(\*STDOUT); 1315binmode(\*STDOUT);
1313 1316
@@ -1336,7 +1339,8 @@ while (my $data = <STDIN>) {
1336} 1339}
1337'" 1340'"
1338 "Perl program to use for decoding a file. 1341 "Perl program to use for decoding a file.
1339Escape sequence %s is replaced with name of Perl binary.") 1342Escape sequence %s is replaced with name of Perl binary.
1343This string is passwd to `format', so percent characters need to be doubled.")
1340 1344
1341; These values conform to `file-attributes' from XEmacs 21.2. 1345; These values conform to `file-attributes' from XEmacs 21.2.
1342; GNU Emacs and other tools not checked. 1346; GNU Emacs and other tools not checked.