Re: Use 64-bit counters

Jeff Sipek <[email protected]> Mon, 11 Jul 2005 13:39:09 -0400
Newsgroups gmane.comp.web.wget.patches
Message-ID <[email protected]>
--tKW2IUtsqtDRztdT
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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).
>=20
> 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).

The system is very capable of handling large files (latest 2.6, hand
compiled).

Jeff Sipek.

--tKW2IUtsqtDRztdT
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFC0q69wFP0+seVj/4RArFXAKCx+xYsCAM4yn7bGhOkSGvTQNaPIACbBUcL
sdApo2+88iJncBkBZCv5GlQ=
=a6WL
-----END PGP SIGNATURE-----

--tKW2IUtsqtDRztdT--