minor memory leak risk

2001-11-20 Thread Daniel Stenberg
This subject says it all. The leak is minor, the fix could be made something like this: diff -u -r1.21 utils.c --- utils.c 2001/05/27 19:35:12 1.21 +++ utils.c 2001/11/20 10:10:17 @@ -903,7 +903,12 @@ while (fgets (line + length, bufsize - length, fp)) { length +=

Re: Wget 1.7.1 released

2001-11-20 Thread Hrvoje Niksic
Tomas Hjelmberg [EMAIL PROTECTED] writes: Does anyone know when the meta name=robots tag will work? 1.8? Doesn't it work already? It's supposed to work as of 1.7.

Re: minor memory leak risk

2001-11-20 Thread Hrvoje Niksic
Daniel Stenberg [EMAIL PROTECTED] writes: This subject says it all. The leak is minor, the fix could be made something like this: What memory leak are you referring to in the subject? Your patch replaces an assert() with a return NULL. The only way that assert() could be tripped is by

Re: SSL bad random seed

2001-11-20 Thread Christian Fraenkel
I remember discussions about this, but I am hardly the person to fix it, as I have zero knowledge about (and need for) SSL. Christian, could you take a look at this? I can dig up old messages about this if you don't have them. No problem. I will try to implement it (more or less) like

Re: minor memory leak risk

2001-11-20 Thread Hrvoje Niksic
[EMAIL PROTECTED] writes: It's not just a memory leak. Length = 0 is declared as a can't happen. If length is zero, wget will suddenly end due to the assert. If a bad input file can lead to length being zero, then using assert is bad on principle. One should never assert external input.

Re: Patch: --range switch implemented

2001-11-20 Thread Vladi Belperchinov-Shabanski
hi! Here is my IMO (in case someone is really interested in:)) all ranges 0-based, support few syntax-es: --range=0..1024-- closed-closed --range=0-1024 -- closed-open --range=1024+2048 -- take 3..4 K's :) i.e. get 2k starting on pos 1024 (well last one could be like

RE: Patch: --range switch implemented

2001-11-20 Thread Herold Heiko
From: Hrvoje Niksic [mailto:[EMAIL PROTECTED]] Vladi Belperchinov-Shabanski [EMAIL PROTECTED] writes: Here is my IMO (in case someone is really interested in:)) ... So what would be a nice alternative syntax for closed-open? 0:1024? Hyphen is easier to type, though. Damn, sometimes it's

newbee not getting all nested (recursive) links

2001-11-20 Thread Attila Horvath
Dear all, Q #1 - URGENT! Am attempting to get 'all' recursive (2 levels deep) links URL. Am getting some but not all. Have tried: wget -o log.txt -r -l 2 -nc -T 10 -t inf URL... Where URL is: http://jobsearch.monster.com/jobsearch.asp?cy=USbrd=1q=%22risk+assessment%22 Have

RE: Patch: --range switch implemented

2001-11-20 Thread Herold Heiko
From: Hrvoje Niksic [mailto:[EMAIL PROTECTED]] Herold Heiko [EMAIL PROTECTED] writes: Don't forget you need a symbol for the start-size syntax,too ... + would be perfect, Yes. That's +, as implemented in the original patch. Noone is disupting that one. --range 4096+1k or --range 4095+1k

Re: minor memory leak risk

2001-11-20 Thread Hrvoje Niksic
Daniel Stenberg [EMAIL PROTECTED] writes: You're right of course. Hm. No, it can probably only happen if the first byte in an existing file is a zero-byte, so that strlen() return 0... Yup. Or the first byte of any line. I.e. Wget will die if it encounters the \n\0 sequence of characters,

newbee followup...

2001-11-20 Thread Attila Horvath
In case the question pops up, I'm using version 1.5.3 of 'wget'. Thx Attila

wget suggestion...

2001-11-20 Thread [Total K]
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 One small suggestion for a possible later release... a mask for all files.. wget -m http://localhost/*.txt for example. Other than that.. all's good =) Regards.. Total K http://www.oc32.cjb.net ~ OC32 Home http://www.digiserv.cjb.net ~

Re: ftp bug in 1.8-dev

2001-11-20 Thread Hrvoje Niksic
Herold Heiko [EMAIL PROTECTED] writes: With 1.8, build on windows, wget -d ftp:// ... I get consistently -- PWD 257 / is current directory. done. == TYPE ... -- TYPE 500 'TYPE ': Invalid number of parameters Thanks for the report. This patch should fix the problem. 2001-11-20

Re: 134% ready

2001-11-20 Thread Ian Abbott
On 17 Nov 2001, at 14:24, Hrvoje Niksic wrote: Ferenc VERES [EMAIL PROTECTED] writes: My download stopped, then next day I continued with -c, from 34%. At the end I saw: 134% downloaded, in end of the lines ;-) (it was FTP:// transfer, a 680MB iso image) GNU Wget 1.5.3 Try it

Re: 134% ready

2001-11-20 Thread Hrvoje Niksic
Ian Abbott [EMAIL PROTECTED] writes: Try it with a later version. I believe that this bug has been fixed in most of its variations. That stuff only works for recursive transfers, not when resuming transfer of a single file. You're right. The patch in msg01481 (my modified version)

Get your GREEN CARD for FREE

2001-11-20 Thread MyGreenCard
Title: Untitled Document Don't miss your opportunity The Diversity Immigrant Visa Lottery (Green Card Lottery) has been established in the 1996 Immigration Act in order to give immigration opportunity to natives from countries other than the main source of immigration to the