On 15 Jan 2002 at 0:27, Hrvoje Niksic wrote:

> "Brent Morgan" <[EMAIL PROTECTED]> writes:
> 
> > The -d debug option crashes wget just after it reads the input file.
> 
> Huh?  Ouch!  Wget on Windows is much less stable than I imagined.  Can
> you run it under a debugger and see what causes the crash?

I had ago at building wget 1.8.1 myself on Windows 2000 with VC 6.0
and also got the crash when using the -d option, so I upgraded to
VC 6.0 SP2 and it did the same thing.

I've narrowed it down to the following line in cookies.c

           asctime (localtime ((time_t *)&cookie->expiry_time)),

which is part of a DEBUGP macro call from function store_cookie.
Specifically, it was failing on the asctime call, rather than the
localtime call, but that's as far as I got. A casual glance at C
runtime library source supplied with the compiler revealed no
obvious problem, but I'll try and investigate this problem a bit
more.

Reply via email to