Re: [BUG] assert test msecs

2002-08-04 Thread Colin 't Hart

 I have run across this problem too. It is because with Linux 2.4.18 (and
other
 versions??) in certain circumstances, gettimeofday() is broken and will
jump
 backwards. See http://kt.zork.net/kernel-traffic/kt20020708_174.html#1.

 Is there any particular reason for this assert? If there is, maybe:
 if (msecs  0) msecs = 0;
 would be more suitable.

Seems like this is only used to calculate a rate to display on the screen.
Maybe we should just accept Linux's opinion that time is going backwards.
Eventually it should go forwards again. :-)

Cheers,

Colin





-r -R.exe downloads exe file

2002-08-04 Thread Jens Rösner

Hi!

With wget 1.9-beta, wget will download .exe files 
although they should be rejected (-r -R.exe).
After the download, wget removes the local file.
I understand that html files are downloaded even if -R.html,.htm 
is specified as the links that may be included in them 
have to be parsed.
However, I think, this makes no sense for .exe files 
and wanted to ask if this behaviour of wget 
maybe could get reconsidered.

Kind regards
Jens



Wget bug: 32 bit int for bytes downloaded.

2002-08-04 Thread Rogier Wolff


It seems wget uses a 32 bit integer for the bytes downloaded:

[...]
FINISHED --17:11:26--
Downloaded: 1,047,520,341 bytes in 5830 files
cave /home/suse8.0# du -s
5230588 .
cave /home/suse8.0# 

As it's a once per download variable I'd say it's not that performance
critical...

Roger.