Re: wget: strdup: Not enough memory

2004-05-09 Thread Axel Pettinger
ast line in your patch. Instead of "FREE_MAYBE (*pwd);" my ftp-basic.c contains "xfree_null (*pwd);". I wasn't sure whether I should replace it or not. I didn't replace the line, and everything worked fine. Again, thank you. Wget is a great tool! Regards, Axel Pettinger

Re: wget: strdup: Not enough memory

2004-05-09 Thread Axel Pettinger
eplace MinGW 2.0.0.3 with the current version ... Regards, Axel Pettinger

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

Re: wget: strdup: Not enough memory

2004-05-08 Thread Axel Pettinger
t" requires 2 arguments, but only 1 given log.c: In function `debug_logprintf': log.c:524: `va_start' undeclared (first use in this function) mingw32-make: *** [log.o] Error 1 -- Regards, Axel Pettinger

Re: wget: strdup: Not enough memory

2004-05-08 Thread Axel Pettinger
in effect invoke > xstrdup (NULL), which results in calling strdup (NULL), which returns > null and makes xstrdup think that strdup signalled "not enough > memory". > > 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. Regards, Axel Pettinger

Re: wget: strdup: Not enough memory

2004-05-08 Thread Axel Pettinger
220 OK --> USER 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-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: strdup: Not enough memory

2004-05-02 Thread Axel Pettinger
. Regards, Axel Pettinger [1] Connecting to :... connected. Logging in as anonymous ... 220 OK --> USER anonymous 331 OK --> PASS Turtle Power! 230 OK --> SYST 226 OK --> PWD 226 OK wget: strdup: Not enough memory.