From owner-cvs-all Thu Jan 2 9:42:52 2003 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0AF1837B4EB for ; Thu, 2 Jan 2003 09:42:40 -0800 (PST) Received: from mail.speakeasy.net (mail14.speakeasy.net [216.254.0.214]) by mx1.FreeBSD.org (Postfix) with ESMTP id AD4AA43EDC for ; Thu, 2 Jan 2003 09:42:38 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (qmail 12052 invoked from network); 2 Jan 2003 17:42:42 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail14.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 2 Jan 2003 17:42:42 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.6/8.12.6) with ESMTP id h02HgaUT060247; Thu, 2 Jan 2003 12:42:36 -0500 (EST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20021230231414.O46392-100000@gamplex.bde.org> Date: Thu, 02 Jan 2003 12:42:42 -0500 (EST) From: John Baldwin To: Bruce Evans Subject: Re: cvs commit: src/lib/libc/gen getbsize.3 getbsize.c src/inclu Cc: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org, "David E. O'Brien" Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 30-Dec-2002 Bruce Evans wrote: > On Mon, 30 Dec 2002, David E. O'Brien wrote: > >> obrien 2002/12/30 03:12:16 PST >> >> Modified files: >> lib/libc/gen getbsize.3 getbsize.c >> include stdlib.h >> Log: >> Back out the s/int */size_t */ commit. >> It makes a difference on 64-bit arches, and no one really wants a 2^64 >> block size [yet]. > > The mistake fixed by this commit has nothing to do with supporting block > sizes of 2^64. It has to do with supporting field widths of SIZE_T_MAX > characters in the header that reports block sizes. A field width of > 2^64 won't be needed until block sizes reach approximately 10^(2^64). > Fields this wide will take some time to read and generate mail about > lines not fitting on 80-column terminals ;-). Well, technically, you would need to bump up from 32 bits signed as soon as we hit 10^(2^32) but I'm not about to hold my breath for that event either. :) -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message