Re: wget: strdup: Not enough memory

2004-05-10 Thread Axel Pettinger
David Fritz wrote: Hmm, you might try upgrading to a newer version of mingw (see http://www.mingw.org/). Thanks, I wasn't aware of the fact that there's a newer version. I downloaded MinGW from http://gnuwin.epfl.ch/apps/mingw/en/index.html. They offer version 2.0.0.3. Alternatively, you

Re: wget: strdup: Not enough memory

2004-05-10 Thread Axel Pettinger
Hrvoje Niksic wrote: This patch should fix the problem. Please let me know if it works for you: 2004-05-08 Hrvoje Niksic [EMAIL PROTECTED] * ftp-basic.c (ftp_pwd): Handle PWD response not containing double quote. Index: src/ftp-basic.c

Re: wget: strdup: Not enough memory

2004-05-10 Thread Hrvoje Niksic
Axel Pettinger [EMAIL PROTECTED] writes: I added the five lines to ftp-basic.c and recompiled Wget. Now I can say that your patch is indeed working for me![1] Thank you very much. BTW, I was a little bit confused because of the last line in your patch. Instead of FREE_MAYBE (*pwd); my

Re: wget: strdup: Not enough memory

2004-05-09 Thread David Fritz
Axel Pettinger wrote: Hrvoje Niksic wrote: This patch should fix the problem. Please let me know if it works for you: I would like to check it out, but I'm afraid I'm not able to compile it. Why not? What error are you getting? I have not that much experience with compiling source code ...

Re: wget: strdup: Not enough memory

2004-05-09 Thread Axel Pettinger
David Fritz wrote: Axel Pettinger wrote: I have not that much experience with compiling source code ... When I try to build WGET.EXE (w/o SSL) using MinGW then I get many Forgot to mention that the source is 1.9+cvs-dev-200404081407 ... warnings and errors in utils.c and log.c,

Re: wget: strdup: Not enough memory

2004-05-09 Thread David Fritz
Axel Pettinger wrote: David Fritz wrote: Axel Pettinger wrote: I have not that much experience with compiling source code ... When I try to build WGET.EXE (w/o SSL) using MinGW then I get many Forgot to mention that the source is 1.9+cvs-dev-200404081407 ... warnings and errors in utils.c

Re: wget: strdup: Not enough memory

2004-05-08 Thread Hrvoje Niksic
Axel Pettinger [EMAIL PROTECTED] writes: Hrvoje Niksic wrote: Axel Pettinger [EMAIL PROTECTED] writes: Is there a reason for (or a solution to avoid it) the following message: wget: strdup: Not enough memory. [1] Does Wget exit after the error, or does it keep running? Wget

Re: wget: strdup: Not enough memory

2004-05-08 Thread Axel Pettinger
anonymous 331 OK -- PASS user 230 OK Logged in! == SYST ... -- SYST 226 OK done.== PWD ... -- PWD 226 OK wget: strdup: Not enough memory. set_sleep_mode(): mode 0x, rc 0x --- Regards, Axel Pettinger

Re: wget: strdup: Not enough memory

2004-05-08 Thread Hrvoje Niksic
Axel Pettinger [EMAIL PROTECTED] writes: The following is Wget's debug output: [...] Logged in! == SYST ... -- SYST 226 OK done.== PWD ... -- PWD 226 OK wget: strdup: Not enough memory. I think I understand where the bug is. The server doesn't seem to send PWD in the format

Re: wget: strdup: Not enough memory

2004-05-08 Thread Axel Pettinger
Hrvoje Niksic wrote: I think I understand where the bug is. The server doesn't seem to send PWD in the format the code expects (in fact, it doesn't seem to be sending it at all). So one could indeed say that it is a strange ftp server, and not only a bug in the wget code ...

Re: wget: strdup: Not enough memory

2004-05-08 Thread Hrvoje Niksic
Axel Pettinger [EMAIL PROTECTED] writes: Hrvoje Niksic wrote: I think I understand where the bug is. The server doesn't seem to send PWD in the format the code expects (in fact, it doesn't seem to be sending it at all). So one could indeed say that it is a strange ftp server, and not

Re: wget: strdup: Not enough memory

2004-05-08 Thread Axel Pettinger
Hrvoje Niksic wrote: This patch should fix the problem. Please let me know if it works for you: I would like to check it out, but I'm afraid I'm not able to compile it. Why not? What error are you getting? I have not that much experience with compiling source code ... When I try

Re: wget: strdup: Not enough memory

2004-05-07 Thread Hrvoje Niksic
Axel Pettinger [EMAIL PROTECTED] writes: Is there a reason for (or a solution to avoid it) the following message: wget: strdup: Not enough memory. [1] Does Wget exit after the error, or does it keep running?

Re: wget: strdup: Not enough memory

2004-05-07 Thread Axel Pettinger
Hrvoje Niksic wrote: Axel Pettinger [EMAIL PROTECTED] writes: Is there a reason for (or a solution to avoid it) the following message: wget: strdup: Not enough memory. [1] Does Wget exit after the error, or does it keep running? Wget terminates itself after the error. Is it possible

wget: strdup: Not enough memory

2004-05-02 Thread Axel Pettinger
Hi, Is there a reason for (or a solution to avoid it) the following message: wget: strdup: Not enough memory. [1] I get the above message when I try to download a binary from an ftp server (with MS FTP I do not have that problem). I use GNU Wget 1.9.1 under WinNT4SP6a (256 MB RAM). Regards