Re: Large Files Support for Wget

2004-05-10 Thread Hrvoje Niksic
Daniel Stenberg [EMAIL PROTECTED] writes: On Mon, 10 May 2004, [iso-8859-2] Dra?en Ka?ar wrote: * Change most (all?) occurrences of `long' in the code to `off_t'. Or should we go the next logical step and just use uintmax_t right away? Just use off_t. ... but Windows has no

RE: Large Files Support for Wget

2004-05-10 Thread Herold Heiko
-Original Message- From: Hrvoje Niksic [mailto:[EMAIL PROTECTED] * Profit! I think you'd really deserve some. Heiko -- -- PREVINET S.p.A. www.previnet.it -- Heiko Herold [EMAIL PROTECTED] [EMAIL PROTECTED] -- +39-041-5907073 ph -- +39-041-5907472 fax

Re: Large Files Support for Wget

2004-05-10 Thread Dražen Kačar
Hrvoje Niksic wrote: David Fritz [EMAIL PROTECTED] writes: IIUC, GNU coreutils uses uintmax_t to store large numbers relating to the file system and prints them with something like this: char buf[INT_BUFSIZE_BOUND (uintmax_t)]; printf (_(The file is %s octets long.\n), umaxtostr

Re: Large Files Support for Wget

2004-05-10 Thread Daniel Stenberg
On Mon, 10 May 2004, [iso-8859-2] Dra?en Ka?ar wrote: * Change most (all?) occurrences of `long' in the code to `off_t'. Or should we go the next logical step and just use uintmax_t right away? Just use off_t. ... but Windows has no off_t... ;-) -- -=- Daniel Stenberg -=-

Site Mirror

2004-05-10 Thread Kelvin F
Hi, I am trying to mirror a web site that has many hierarchical levels. I am using the command wget -m -k $site which allows me to view the site fine. However, I wish the mirror to make a directory structure that also mimics the website rather than having the html files in a single

Site Mirror

2004-05-10 Thread Kelvin F
Hi, I am trying to mirror a web site that has many hierarchical levels. I am using the command wget -m -k $site which allows me to view the site fine. However, I wish the mirror to make a directory structure that also mimics the website rather than having the html files in a single

Re: wget: strdup: Not enough memory

2004-05-10 Thread Axel Pettinger
David Fritz wrote: Hmm, you might try upgrading to a newer version of mingw (see http://www.mingw.org/). Thanks, I wasn't aware of the fact that there's a newer version. I downloaded MinGW from http://gnuwin.epfl.ch/apps/mingw/en/index.html. They offer version 2.0.0.3. Alternatively, you

Re: wget: strdup: Not enough memory

2004-05-10 Thread Axel Pettinger
Hrvoje Niksic wrote: This patch should fix the problem. Please let me know if it works for you: 2004-05-08 Hrvoje Niksic [EMAIL PROTECTED] * ftp-basic.c (ftp_pwd): Handle PWD response not containing double quote. Index: src/ftp-basic.c

Re: wget: strdup: Not enough memory

2004-05-10 Thread Hrvoje Niksic
Axel Pettinger [EMAIL PROTECTED] writes: I added the five lines to ftp-basic.c and recompiled Wget. Now I can say that your patch is indeed working for me![1] Thank you very much. BTW, I was a little bit confused because of the last line in your patch. Instead of FREE_MAYBE (*pwd); my

Re: Large Files Support for Wget

2004-05-10 Thread David Fritz
IIUC, GNU coreutils uses uintmax_t to store large numbers relating to the file system and prints them with something like this: char buf[INT_BUFSIZE_BOUND (uintmax_t)]; printf (_(The file is %s octets long.\n), umaxtostr (size, buf)); where umaxtostr() has the following prototype: char

Re: Large Files Support for Wget

2004-05-10 Thread Hrvoje Niksic
David Fritz [EMAIL PROTECTED] writes: IIUC, GNU coreutils uses uintmax_t to store large numbers relating to the file system and prints them with something like this: char buf[INT_BUFSIZE_BOUND (uintmax_t)]; printf (_(The file is %s octets long.\n), umaxtostr (size, buf)); That's