[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r104690: * net/tramp-sh.el (tramp-met
From: |
Michael Albinus |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r104690: * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether |
Date: |
Thu, 23 Jun 2011 15:03:04 +0200 |
User-agent: |
Bazaar (2.3.1) |
------------------------------------------------------------
revno: 104690
committer: Michael Albinus <address@hidden>
branch nick: trunk
timestamp: Thu 2011-06-23 15:03:04 +0200
message:
* net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
SIZE is a number.
modified:
lisp/ChangeLog
lisp/net/tramp-sh.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog 2011-06-23 08:58:45 +0000
+++ b/lisp/ChangeLog 2011-06-23 13:03:04 +0000
@@ -1,3 +1,8 @@
+2011-06-23 Michael Albinus <address@hidden>
+
+ * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
+ SIZE is a number.
+
2011-06-23 Martin Rudalics <address@hidden>
* window.el (get-lru-window, get-mru-window)
=== modified file 'lisp/net/tramp-sh.el'
--- a/lisp/net/tramp-sh.el 2011-06-04 14:11:26 +0000
+++ b/lisp/net/tramp-sh.el 2011-06-23 13:03:04 +0000
@@ -4661,6 +4661,8 @@
(and
;; It shall be an out-of-band method.
(tramp-get-method-parameter (tramp-file-name-method vec)
'tramp-copy-program)
+ ;; There must be a size, otherwise the file doesn't exist.
+ (numberp size)
;; Either the file size is large enough, or (in rare cases) there
;; does not exist a remote encoding.
(or (null tramp-copy-size-limit)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r104690: * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether,
Michael Albinus <=