Re: Bus errors and recursion

2001-06-18 Thread Hrvoje Niksic
Eric Bock [EMAIL PROTECTED] writes: Here's an odd site (with a really dumb link at the top...) http://heragency.com wget crashed with a 182M core when I fed it that site with -r -l0 set :/ Which version of Wget is it? Wget 1.7 seems to cope with it, at lest for me. Also wget seems to die

Re: type=a problem with wget 1.6

2001-06-18 Thread Hrvoje Niksic
Kathryn C/Maureen O [EMAIL PROTECTED] writes: I recently downloaded and compiled wget 1.6. I've successfully retrieved documents using the http protocol, but I cannot ftp a file in ascii mode. I read the documentation and found that, wget also supports the 'type' feature for FTP

Re: Bus errors and recursion

2001-06-18 Thread Daniel Stenberg
On 18 Jun 2001, Hrvoje Niksic wrote: There are good reasons to use alloca instead of malloc I know this is taken out of context, but I'm curious on this. What are the good technical reasons to use alloca instead of malloc? Aren't those occurences just giving you headache when porting wget to

Re: Bus errors and recursion

2001-06-18 Thread Hrvoje Niksic
Daniel Stenberg [EMAIL PROTECTED] writes: On 18 Jun 2001, Hrvoje Niksic wrote: There are good reasons to use alloca instead of malloc I know this is taken out of context, but I'm curious on this. What are the good technical reasons to use alloca instead of malloc? * Reduced memory

Re: Bus errors and recursion

2001-06-18 Thread csaba . raduly
[about alloca vs malloc] If you allocate with malloc and then accidentally overwrite it, you get a corrupted heap. If you allocate with alloca and then accidentally overwrite it, you get a corrupted stack. Guess which is easier to notice :-) Besides, alloca is a GCC builtin (IIRC), so you you

Re: Bus errors and recursion

2001-06-18 Thread Hrvoje Niksic
[EMAIL PROTECTED] writes: [about alloca vs malloc] If you allocate with malloc and then accidentally overwrite it, you get a corrupted heap. If you allocate with alloca and then accidentally overwrite it, you get a corrupted stack. Guess which is easier to notice :-) Seriously, which?

URL modification not correct?

2001-06-18 Thread =?x-unknown?q?J=F6rg_Mattik?=
Hi, I have found a problem with the new wget 1.7. After the download with the command: wget -k -m -np -b -o xmm1.log http://vegemite.chem.nottingham.ac.uk/~xmakemol/ I found the file download.html modified by wget. The critical line 52 in this file looks like this: a

Re: [Fwd: type=a problem with wget 1.6]

2001-06-18 Thread Jan Prikryl
Quoting Maureen O'Drisceoil ([EMAIL PROTECTED]): I'm not sure what part of the debug log is relevant, so here's the whole thing. Thank you. wget -d ftp://hostname.harvard.edu/CURRENT.URLS2.TXT;type=a Try the following wget -d

Re: Bus errors and recursion

2001-06-18 Thread Eric Bock
On Mon, 18 Jun 2001, Hrvoje Niksic wrote: Eric Bock [EMAIL PROTECTED] writes: This is why many people allocate all the memory they will need at the beginning, and either never allocate memory again, or reallocate it (sensibly) as needed. Thanks, but no thanks. Such programs are

Re: Bus errors and recursion

2001-06-18 Thread Hrvoje Niksic
Eric Bock [EMAIL PROTECTED] writes: This is why many people allocate all the memory they will need at the beginning, and either never allocate memory again, or reallocate it (sensibly) as needed. Thanks, but no thanks. Such programs are frought with arbitrary limits just so they can

Re: Bus errors and recursion

2001-06-18 Thread Eric Bock
On Mon, 18 Jun 2001, Hrvoje Niksic wrote: Eric Bock [EMAIL PROTECTED] writes: This is why many people allocate all the memory they will need at the beginning, and either never allocate memory again, or reallocate it (sensibly) as needed. Not in the least surprisingly, most