bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] Fix: Large files in WARC


From: Giuseppe Scrivano
Subject: Re: [Bug-wget] Fix: Large files in WARC
Date: Sat, 04 Feb 2012 11:05:11 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux)

Gijs van Tulder <address@hidden> writes:

> Hi,
>
> Another small problem in the WARC section: wget crashes with a
> segmentation fault if you have WARC output enabled and try to download
> a file larger than 2GB. I think this is because of the size_t, ftell
> and fseek in warc.c.
>
> The attached patch changes the references from size_t to off_t, ftell
> to ftello, fseek to fseeko. On my 64-bit system this seemed to fix the
> problem (but I'm not an expert in these matters, so maybe this doesn't
> hold for 32-bit systems).

Thanks, pushed!

Giuseppe



reply via email to

[Prev in Thread] Current Thread [Next in Thread]