Re: problem with ftp mirror through http proxy in wget 1.9

2003-10-24 Thread Renaud SALIOU
Hrvoje Niksic wrote:
Else i compiled successfully wget-1.9-rc1 on following platforms
(powerpc-ibm-aix5.2.0.0, i686-pc-cygwin).
Thanks for the tests.  Did you use the system compiler on AIX or did
you compile it with Gcc?
The first time I compiled wget-1.9 with gcc. But like you ask this 
question, I try and success to compile it with system compiler for AIX. 
I use VisualAge C 5.0.2 (xlc_r executable) on AIX 5.2 with 3 lights 
changes in code like below. The first and second are just syntax. The 
third one is a quick hack that have perhaps no sense. Optimazing CPU 
Performance aren't a goal in wget but size of binary executable wget 
made with xlc_r (with no particular optimize flags) is around 330kB 
against 650kB with gcc.

===
RCS file: html-parse.c,v
retrieving revision 1.1
diff -r1.1 html-parse.c
465c465
< AC_S_QUOTE2,
---
> AC_S_QUOTE2
===
RCS file: url.c,v
retrieving revision 1.1
diff -r1.1 url.c
1353c1353
<   filechr_control = 4,/* a control character, e.g. 0-31 */
---
>   filechr_control = 4 /* a control character, e.g. 0-31 */
===
RCS file: utils.c,v
retrieving revision 1.1
diff -r1.1 utils.c
82c82,84
< # define HAVE_SIGSETJMP
---
> # ifndef HAVE_SIGSETJMP
> #  define HAVE_SIGSETJMP
> # endif
--
SALIOU Renaud  NoRSfall (icq: 61340098)
http://perso.hirlimann.net/~rsf/blog/


Re: problem with ftp mirror through http proxy in wget 1.9

2003-10-21 Thread Hrvoje Niksic
Renaud SALIOU <[EMAIL PROTECTED]> writes:

> Wget 1.8.x and 1.9-rc1 don't download recursively ftp site through
> http proxy (Squid, Netscape Proxy).

It's a known bug, sorry.  I plan to look into it for the next release;
I think I know how to fix it, but the fix was too potentially
destabilizing to put into the impending 1.9 release.

> Else i compiled successfully wget-1.9-rc1 on following platforms
> (powerpc-ibm-aix5.2.0.0, i686-pc-cygwin).

Thanks for the tests.  Did you use the system compiler on AIX or did
you compile it with Gcc?