Date: Tue, 5 Jun 2001 09:47:35 +1200 From: Jonathan Chen <jonathan.chen@itouch.co.nz> To: Matt Dillon <dillon@earth.backplane.com> Cc: John Polstra <jdp@polstra.com>, stable@FreeBSD.ORG, chad@DCFinc.com Subject: Re: Re[2]: time_t definition is worng Message-ID: <20010605094735.C40392@itouchnz.itouch> In-Reply-To: <200106012149.f51LnI289480@earth.backplane.com>; from dillon@earth.backplane.com on Fri, Jun 01, 2001 at 02:49:18PM -0700 References: <200106012015.NAA17134@freeway.dcfinc.com> <200106012052.f51KqBT29871@vashon.polstra.com> <200106012149.f51LnI289480@earth.backplane.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jun 01, 2001 at 02:49:18PM -0700, Matt Dillon wrote: > : > :No, time_t is and always has been 32 bits on all FreeBSD platforms. > : > :I agree with Matt that it would be nice if it were 64 bits at least on > :64-bit platforms. Unfortunately, practically speaking it's too late > :to make that change now. > : > :John > :-- > : John Polstra jdp@polstra.com > > Not being a user of the alpha port, I can't disagree. But if I were > I would consider fixing the alpha port now and get it over with > rather then later. time_t was one of the few things that transported > naturally to 64 bit platforms, and yet it still managed to get fracked > up in FreeBSD. This IA32 change from long to int only makes things > even MORE fracked up then they already were and is a huge mistake. > > Rather then further break the IA32 port, if consistency is a goal then > the alpha port should be fixed instead. When the FreeBSD-alpha port was being done, Satoshi (IIRC) suggested that time_t be made a long for the Alpha; which was a great idea to fix the Epoch-end bug, at least for 64-bit systems. After some discussion, this was not done 'cos Terry Lambert pointed out that the UFS filesystem code depended on a 32-bit time_t. I have no idea just how true this is today, but if it still is so, time_t has to be 32-bit until the UFS code is fixed. Cheers. -- Jonathan Chen <jonathan.chen@itouch.co.nz> ---------------------------------------------------------------------- When you don't know what you are doing, do it neatly. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010605094735.C40392>