From owner-freebsd-arch@FreeBSD.ORG Wed Jan 5 10:20:58 2005 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2C46716A4CF; Wed, 5 Jan 2005 10:20:58 +0000 (GMT) Received: from darkness.comp.waw.pl (darkness.comp.waw.pl [195.117.238.136]) by mx1.FreeBSD.org (Postfix) with ESMTP id C52BE43D39; Wed, 5 Jan 2005 10:20:57 +0000 (GMT) (envelope-from pjd@darkness.comp.waw.pl) Received: by darkness.comp.waw.pl (Postfix, from userid 1009) id 23455ACB34; Wed, 5 Jan 2005 11:20:56 +0100 (CET) Date: Wed, 5 Jan 2005 11:20:56 +0100 From: Pawel Jakub Dawidek To: Brooks Davis Message-ID: <20050105102056.GO784@darkness.comp.waw.pl> References: <20050104224043.GM784@darkness.comp.waw.pl> <20050105030426.GB24604@odin.ac.hmc.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="AA9g+nFNFPYNJKiL" Content-Disposition: inline In-Reply-To: <20050105030426.GB24604@odin.ac.hmc.edu> User-Agent: Mutt/1.4.2i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 5.2.1-RC2 i386 cc: arch@freebsd.org cc: scottl@freebsd.org Subject: Re: BigDisk project: du(1) 64bit clean. X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jan 2005 10:20:58 -0000 --AA9g+nFNFPYNJKiL Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jan 04, 2005 at 07:04:26PM -0800, Brooks Davis wrote: +> I'd be inclined to use the somewhat gross fix in PR 74567 in RELENG_5 +> and do it right in HEAD. [...] It allocates memory and we don't need it. Proposed fix is actually for RELENG_5. We can also do some magic inside du(1) to split 64bit value between two fields (fts_number/fts_pointer) when needed (on 32bit archs), but it would be really hackish. +> [...] bde suggested changing fts_num to intmax_t. The only issue here is that we break ABI if intmax_t will be bumped to 128bits in gcc, but we probably will have much bigger problems then:) I like this idea. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --AA9g+nFNFPYNJKiL Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFB27+IForvXbEpPzQRAjziAJ9rxx5bioUTnVhgFh96w/dazJxcTQCdGm/b oLexIIsnaIK8DLsKTUWKYqc= =AYpl -----END PGP SIGNATURE----- --AA9g+nFNFPYNJKiL--