diff options
| author | Sam Steingold | 2000-07-28 16:27:41 +0000 |
|---|---|---|
| committer | Sam Steingold | 2000-07-28 16:27:41 +0000 |
| commit | 9d45313983c286609b81969c0babe73c4059b3a9 (patch) | |
| tree | 2a57b254d36e3dc78f74760a2d5d976672355a66 | |
| parent | 4a7f48bb2fe5e672118f29283c14c7330f9fb1cd (diff) | |
| download | emacs-9d45313983c286609b81969c0babe73c4059b3a9.tar.gz emacs-9d45313983c286609b81969c0babe73c4059b3a9.zip | |
Ange-ftp handles the output of the w32-style clients
| -rw-r--r-- | etc/NEWS | 3 | ||||
| -rw-r--r-- | lisp/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/net/ange-ftp.el | 6 |
3 files changed, 14 insertions, 1 deletions
| @@ -975,6 +975,9 @@ sign, e.g. `/foo@bar.org#666:mumble'. (This syntax comes from EFS.) | |||
| 975 | *** If the new user-option `ange-ftp-try-passive-mode' is set, passive | 975 | *** If the new user-option `ange-ftp-try-passive-mode' is set, passive |
| 976 | ftp mode will be used if the ftp client supports that. | 976 | ftp mode will be used if the ftp client supports that. |
| 977 | 977 | ||
| 978 | *** Ange-ftp handles the output of the w32-style clients which | ||
| 979 | output ^M at the end of lines. | ||
| 980 | |||
| 978 | ** Shell script mode changes. | 981 | ** Shell script mode changes. |
| 979 | 982 | ||
| 980 | Shell script mode (sh-script) can now indent scripts for shells | 983 | Shell script mode (sh-script) can now indent scripts for shells |
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 99c6ea145eb..2ea5ff29b7c 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2000-07-28 Sam Steingold <sds@gnu.org> | ||
| 2 | |||
| 3 | * net/ange-ftp.el (ange-ftp-verify-visited-file-modtime): | ||
| 4 | use `<=', not `<' to compare times! | ||
| 5 | (ange-ftp-ls): remve | ||
| 6 | |||
| 1 | 2000-07-27 Gerd Moellmann <gerd@gnu.org> | 7 | 2000-07-27 Gerd Moellmann <gerd@gnu.org> |
| 2 | 8 | ||
| 3 | * play/cookie1.el: Add explanation of how to make cookie.el | 9 | * play/cookie1.el: Add explanation of how to make cookie.el |
diff --git a/lisp/net/ange-ftp.el b/lisp/net/ange-ftp.el index e710540f785..d02f0577c45 100644 --- a/lisp/net/ange-ftp.el +++ b/lisp/net/ange-ftp.el | |||
| @@ -2487,6 +2487,10 @@ away in the internal cache." | |||
| 2487 | (format | 2487 | (format |
| 2488 | "list data file %s not readable" | 2488 | "list data file %s not readable" |
| 2489 | temp)))) | 2489 | temp)))) |
| 2490 | ;; remove ^M inserted by the win32 ftp client | ||
| 2491 | (while (re-search-forward "\r$" nil t) | ||
| 2492 | (replace-match "")) | ||
| 2493 | (goto-char 1) | ||
| 2490 | (run-hooks 'ange-ftp-before-parse-ls-hook) | 2494 | (run-hooks 'ange-ftp-before-parse-ls-hook) |
| 2491 | (if parse | 2495 | (if parse |
| 2492 | (ange-ftp-set-files | 2496 | (ange-ftp-set-files |
| @@ -3428,7 +3432,7 @@ system TYPE.") | |||
| 3428 | (let ((file-mdtm (ange-ftp-file-modtime name)) | 3432 | (let ((file-mdtm (ange-ftp-file-modtime name)) |
| 3429 | (buf-mdtm (with-current-buffer buf (visited-file-modtime)))) | 3433 | (buf-mdtm (with-current-buffer buf (visited-file-modtime)))) |
| 3430 | (or (zerop (car file-mdtm)) | 3434 | (or (zerop (car file-mdtm)) |
| 3431 | (< (float-time file-mdtm) (float-time buf-mdtm)))) | 3435 | (<= (float-time file-mdtm) (float-time buf-mdtm)))) |
| 3432 | (ange-ftp-real-verify-visited-file-modtime buf)))) | 3436 | (ange-ftp-real-verify-visited-file-modtime buf)))) |
| 3433 | 3437 | ||
| 3434 | ;;;; ------------------------------------------------------------ | 3438 | ;;;; ------------------------------------------------------------ |