Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 Dec 2012 20:53:00 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Walter Hurry <walterhurry@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: pkg upgrade?
Message-ID:  <50BD112C.2020707@infracaninophile.co.uk>
In-Reply-To: <k9iqeg$toh$1@ger.gmane.org>
References:  <k9gigp$uqo$1@ger.gmane.org> <50BC4790.5010707@FreeBSD.org> <k9igqr$1ll$1@ger.gmane.org> <50BCCA1C.7010800@freebsd.org> <k9ij4g$mr6$1@ger.gmane.org> <k9iqeg$toh$1@ger.gmane.org>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On 03/12/2012 18:18, Walter Hurry wrote:
> I wonder if there is some kind of overflow problem with the calculations 
> on larger packages?

It's not an overflow: the size is stored as the ascii representation of
an integer value in the pkg tarball and read into an int64_t variable
(good for file sizes up to exabyte scales) and stored in sqlite columns
equivalent in size to that.

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.

PGP: http://www.infracaninophile.co.uk/pgpkey
JID: matthew@infracaninophile.co.uk


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.16 (Darwin)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlC9ES0ACgkQ8Mjk52CukIwB3ACghIMo/zsqoREzzgPWFGt9ofzl
xEgAn0KPJJ8QVXWhIYyQHOTCNugNjJyJ
=rIJu
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50BD112C.2020707>