Re: wget-1.10.2 pwd/cd bug

2007-03-26 Thread Hrvoje Niksic
Hrvoje Niksic <[EMAIL PROTECTED]> writes:

> [EMAIL PROTECTED] (Steven M. Schweda) writes:
>
>>It's starting to look like a consensus.  A Google search for:
>> wget DONE_CWD
>> finds:
>>
>>   http://www.mail-archive.com/wget@sunsite.dk/msg08741.html
>
> That bug is fixed in subversion, revision 2194.

I forgot to add that this means that the patch can be retrieved with
`svn diff -r2193:2194' in Wget's source tree.  If you don't have a
checkout handy, Subversion still allows you to generate a diff using
`svn diff -r2193:2194 http://svn.dotsrc.org/repo/wget/trunk/'.

Also note that the fix is also available on the stable branch, and I
urge the distributors to apply it to their versions until 1.10.3 or
1.11 is released.


Re: wget-1.10.2 pwd/cd bug

2007-03-25 Thread Hrvoje Niksic
[EMAIL PROTECTED] (Steven M. Schweda) writes:

>It's starting to look like a consensus.  A Google search for:
> wget DONE_CWD
> finds:
>
>   http://www.mail-archive.com/wget@sunsite.dk/msg08741.html

That bug is fixed in subversion, revision 2194.


wget-1.10.2 pwd/cd bug

2007-03-24 Thread Steven M. Schweda
   It's starting to look like a consensus.  A Google search for:
wget DONE_CWD
finds:

  http://www.mail-archive.com/wget@sunsite.dk/msg08741.html



   Steven M. Schweda   [EMAIL PROTECTED]
   382 South Warwick Street(+1) 651-699-9818
   Saint Paul  MN  55105-2547


wget-1.10.2 pwd/cd bug

2007-03-24 Thread Jason Mancini

This is inverted in ftp.c:

 if (con->csock != -1)
con->st &= ~DONE_CWD;
 else
con->st |= DONE_CWD;

If not error, request cwd?
If error, cwd done?

It's backwards.  Changing != to == solves the bug.
Thanks!
Jason

_
5.5%* 30 year fixed mortgage rate. Good credit refinance. Up to 5 free 
quotes - *Terms 
https://www2.nextag.com/goto.jsp?product=10035&url=%2fst.jsp&tm=y&search=mortgage_text_links_88_h2a5d&s=4056&p=5117&disc=y&vers=910




wget-1.10.2 pwd/cd bug

2007-03-24 Thread Jason Mancini

I downloaded 1.10.2 source code.
u->cmd goes from 0x1B to 0x19, dropping DO_CMD on the second call
to ftp.c:getftp() after connection failure.  I'm trying to debug "THE loop".
Jason

_
Watch free concerts with Pink, Rod Stewart, Oasis and more. Visit MSN 
Presents today. 
http://music.msn.com/presents?icid=ncmsnpresentstagline&ocid=T002MSN03A07001