re: Use 64-bit counters

"Hrvoje Niksic" <[email protected]> Mon, 11 Jul 2005 19:31:53 +0200
Newsgroups gmane.comp.web.wget.patches
Message-ID <[email protected]>
----- 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.