aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKai Großjohann2002-08-03 20:54:52 +0000
committerKai Großjohann2002-08-03 20:54:52 +0000
commit365417014078a0f260fd24d41845aeb274b876c8 (patch)
tree2199362e343edb123143fdb50653f76e94e836a3
parenteb9f0295d0cd3b30c32350645e833cd13afeb144 (diff)
downloademacs-365417014078a0f260fd24d41845aeb274b876c8.tar.gz
emacs-365417014078a0f260fd24d41845aeb274b876c8.zip
Version 2.0.8.
(tramp-perl-encode, tramp-perl-encode): Double the backslashes.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/net/tramp.el10
2 files changed, 10 insertions, 5 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 14f2c91ee14..27b596e30d2 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,10 @@
12002-08-03 Kai Gro,b_(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE> 12002-08-03 Kai Gro,b_(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
2 2
3 * net/tramp.el: Version 2.0.8.
4 (tramp-perl-encode, tramp-perl-encode): Double the backslashes.
5
62002-08-03 Kai Gro,b_(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
7
3 * net/tramp.el: Version 2.0.7. 8 * net/tramp.el: Version 2.0.7.
4 (tramp-perl-encode-with-module, tramp-perl-decode-with-module) 9 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
5 (tramp-perl-encode, tramp-perl-decode): Escape `%' characters 10 (tramp-perl-encode, tramp-perl-decode): Escape `%' characters
diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el
index 6dfe7a7ec9c..a3b343b99ef 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.7" 75(defconst tramp-version "2.0.8"
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"
@@ -1268,11 +1268,11 @@ my %%trans = do {
1268 split //, q(ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/); 1268 split //, q(ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/);
1269}; 1269};
1270 1270
1271binmode(\*STDIN); 1271binmode(\\*STDIN);
1272 1272
1273# We read in chunks of 54 bytes, to generate output lines 1273# We read in chunks of 54 bytes, to generate output lines
1274# of 72 chars (plus end of line) 1274# of 72 chars (plus end of line)
1275$/ = \54; 1275$/ = \\54;
1276 1276
1277while (my $data = <STDIN>) { 1277while (my $data = <STDIN>) {
1278 my $pad = q(); 1278 my $pad = q();
@@ -1291,7 +1291,7 @@ while (my $data = <STDIN>) {
1291 map($trans{$_}, 1291 map($trans{$_},
1292 (substr(unpack(q(B*), $data) . q(00000), 0, 432) =~ /....../g)), 1292 (substr(unpack(q(B*), $data) . q(00000), 0, 432) =~ /....../g)),
1293 $pad, 1293 $pad,
1294 qq(\n); 1294 qq(\\n);
1295} 1295}
1296'" 1296'"
1297 "Perl program to use for encoding a file. 1297 "Perl program to use for encoding a file.
@@ -1312,7 +1312,7 @@ my %%trans = do {
1312 1312
1313my %%bytes = map {(unpack(q(B8), chr $_), chr $_)} 0 .. 255; 1313my %%bytes = map {(unpack(q(B8), chr $_), chr $_)} 0 .. 255;
1314 1314
1315binmode(\*STDOUT); 1315binmode(\\*STDOUT);
1316 1316
1317# We are going to accumulate into $pending to accept any line length 1317# We are going to accumulate into $pending to accept any line length
1318# (we do not check they are <= 76 chars as the RFC says) 1318# (we do not check they are <= 76 chars as the RFC says)