GNU bug report logs - #15058
remote ftp file name syntax problem on some systems

Previous Next

Package: emacs;

Reported by: Devon Sean McCullough <Emacs-Hacker2013 <at> jovi.net>

Date: Fri, 9 Aug 2013 10:12:01 UTC

Severity: normal

Merged with 8346

Found in versions 24.0.50, 24.3

Fixed in version 24.4

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #60 received at 15058 <at> debbugs.gnu.org (full text, mbox):

From: Devon Sean McCullough <Emacs-Hacker2013 <at> jovi.net>
To: Glenn Morris <rgm <at> gnu.org>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 15058 <at> debbugs.gnu.org
Subject: Re: bug#15058: 24.3; ftp is still broken
Date: Sat, 10 Aug 2013 16:41:39 +0800
Glenn,

Thanks for the patch - this nearly identical one works great on MacOS.

		Peace
			--Devon

P.S. I added four characters (two carets, a colon and a space)
--- ange-ftp.el.~0~	2013-02-11 09:13:09.000000000 +0800
+++ ange-ftp.el	2013-08-10 15:50:44.000000000 +0800
@@ -700,7 +700,7 @@
   "Regular expression matching the start of a multiline FTP reply.")
 
 (defvar ange-ftp-good-msgs
-  "^220 \\|^230 \\|^226 \\|^25. \\|^221 \\|^200 \\|^[Hh]ash mark"
+  "^220 \\|^230 \\|^226 \\|^25. \\|^221 \\|^200 \\|^[Hh]ash mark\\|^Remote directory: "
   "Regular expression matching FTP \"success\" messages.")
 
 ;; CMS and the odd VMS machine say 200 Port rather than 200 PORT.
@@ -3021,6 +3021,7 @@
     (if (car result)
 	(save-match-data
 	  (and (or (string-match "\"\\([^\"]*\\)\"" line)
+		   (string-match "^Remote directory: \\(.*\\)" line)
 		   (string-match " \\([^ ]+\\) " line))	; stone-age VMS servers!
 	       (setq dir (match-string 1 line)))))
     (cons dir line)))






This bug report was last modified 11 years and 284 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.