Date: Thu, 02 Jan 2003 12:42:42 -0500 (EST) From: John Baldwin <jhb@FreeBSD.org> To: Bruce Evans <bde@zeta.org.au> Cc: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org, "David E. O'Brien" <obrien@FreeBSD.org> Subject: Re: cvs commit: src/lib/libc/gen getbsize.3 getbsize.c src/inclu Message-ID: <XFMail.20030102124242.jhb@FreeBSD.org> In-Reply-To: <20021230231414.O46392-100000@gamplex.bde.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <jhb@FreeBSD.org> <>< 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20030102124242.jhb>