all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Re: Bug that needs fixing
       [not found]   ` <87u0ixkie5.fsf-monnier+emacs@gnu.org>
@ 2005-07-14  8:20     ` Jason Rumney
  2005-07-14 12:28       ` Michael Albinus
  2005-07-16  0:51       ` Michael Welsh Duggan
  0 siblings, 2 replies; 4+ messages in thread
From: Jason Rumney @ 2005-07-14  8:20 UTC (permalink / raw)
  Cc: Emacs Devel

Stefan Monnier wrote:

>--- orig/lisp/net/ange-ftp.el
>+++ mod/lisp/net/ange-ftp.el
>@@ -729,7 +729,15 @@
> 	  "^local:\\|^Trying\\|^125 \\|^550-\\|^221 .*oodbye\\|"
>           "^500 .*AUTH \\(KERBEROS\\|GSSAPI\\)\\|^KERBEROS\\|"
> 	  "^530 Please login with USER and PASS\\|" ; non kerberised vsFTPd
>-	  "^22[789] .*[Pp]assive\\|^200 EPRT\\|^500 .*EPRT")
>+	  "^22[789] .*[Pp]assive\\|^200 EPRT\\|^500 .*EPRT\\|"
>+          ;; On Mac OS X we sometimes get things like:
>+          ;; 
>+          ;;     ftp> open ftp.nluug.nl
>+          ;;     Trying 2001:610:1:80aa:192:87:102:36...
>+          ;;     ftp: connect to address 2001:610:1:80aa:192:87:102:36: No route to host
>+          ;;     Trying 192.87.102.36...
>+          ;;     Connected to ftp.nluug.nl.
>+          "^ftp: connect to address .*: No route to host")
>  
>
Shouldn't all responses that do not start with a status code be ignored?

ie

"^[^1-9][^0-9][^0-9]"

or are there non-standard ftp servers that we have to parse 
status-code-less responses from?

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Bug that needs fixing
  2005-07-14  8:20     ` Bug that needs fixing Jason Rumney
@ 2005-07-14 12:28       ` Michael Albinus
  2005-07-14 13:33         ` Jason Rumney
  2005-07-16  0:51       ` Michael Welsh Duggan
  1 sibling, 1 reply; 4+ messages in thread
From: Michael Albinus @ 2005-07-14 12:28 UTC (permalink / raw)
  Cc: Emacs Devel

Jason Rumney <jasonr@gnu.org> writes:

> Shouldn't all responses that do not start with a status code be ignored?
>
> ie
>
> "^[^1-9][^0-9][^0-9]"

I fear that something like the response of the "dir" command shouldn't
be ignored.

Best regards, Michael.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Bug that needs fixing
  2005-07-14 12:28       ` Michael Albinus
@ 2005-07-14 13:33         ` Jason Rumney
  0 siblings, 0 replies; 4+ messages in thread
From: Jason Rumney @ 2005-07-14 13:33 UTC (permalink / raw)
  Cc: Emacs Devel


[-- Attachment #1.1: Type: text/plain, Size: 496 bytes --]

Michael Albinus wrote:

>Jason Rumney <jasonr@gnu.org> writes:
>
>  
>
>>Shouldn't all responses that do not start with a status code be ignored?
>>
>>ie
>>
>>"^[^1-9][^0-9][^0-9]"
>>    
>>
>
>I fear that something like the response of the "dir" command shouldn't
>be ignored.
>  
>
Sure, but that is immediately preceded by a line with a 150 status code. 
I was assuming that data responses were handled separately than the 
protocol level chit-chat and wouldn't be affected by such a change.


[-- Attachment #1.2: Type: text/html, Size: 953 bytes --]

[-- Attachment #2: Type: text/plain, Size: 142 bytes --]

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Bug that needs fixing
  2005-07-14  8:20     ` Bug that needs fixing Jason Rumney
  2005-07-14 12:28       ` Michael Albinus
@ 2005-07-16  0:51       ` Michael Welsh Duggan
  1 sibling, 0 replies; 4+ messages in thread
From: Michael Welsh Duggan @ 2005-07-16  0:51 UTC (permalink / raw)
  Cc: Stefan Monnier, Emacs Devel

Jason Rumney <jasonr@gnu.org> writes:

> Shouldn't all responses that do not start with a status code be ignored?
>
> ie
>
> "^[^1-9][^0-9][^0-9]"

Be careful when negating regexps, as this is seldom as easy as it
seems.  An actual negation of "^[1-9][1-9][1-9]" would be:
"^\\([^1-9]\\|[1-9][^1-9]\\|[1-9][1-9][^1-9]\\)".

-- 
Michael Welsh Duggan
(md5i@cs.cmu.edu)

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-07-16  0:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <E1DjLqu-0006B3-CL@fencepost.gnu.org>
     [not found] ` <87mzpcvpv3.fsf@gmx.de>
     [not found]   ` <87u0ixkie5.fsf-monnier+emacs@gnu.org>
2005-07-14  8:20     ` Bug that needs fixing Jason Rumney
2005-07-14 12:28       ` Michael Albinus
2005-07-14 13:33         ` Jason Rumney
2005-07-16  0:51       ` Michael Welsh Duggan

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.