Re: Use 64-bit counters

Hrvoje Niksic <[email protected]> Thu, 04 Aug 2005 23:35:36 +0200
Newsgroups gmane.comp.web.wget.patches
Message-ID <[email protected]>
Jeff Sipek <[email protected]> writes:

> On Mon, Jul 11, 2005 at 07:31:53PM +0200, Hrvoje Niksic wrote:
>> ----- Original Message Follows -----
>> > This patch changes the wgint from off_t to unsigned long long. This
>> > way, wget doesn't blow up when we try to download files >2GB (eg.
>> > DVD ISOs).
>> 
>> Please note that off_t (and therefore wgint) should already be
>> a 64-bit type on systems that support large files because Wget
>> defines _LARGEFILE_SOURCE.  If this does not happen for some
>> reason, it should be investigated (for example, by inspecting the
>> generated `config.log').  Also note that wgint should always be
>> signed.
>
> Shortly after I sent the patch, I noticed that wget 1.10 should
> handle large files (at least on Debian).

Yes.  Is the patch still necessary on your system?