From owner-freebsd-stable Mon Jun 4 14:48:15 2001 Delivered-To: freebsd-stable@freebsd.org Received: from itouch.co.nz (itouch.co.nz [203.99.66.188]) by hub.freebsd.org (Postfix) with ESMTP id 5647A37B401 for ; Mon, 4 Jun 2001 14:48:11 -0700 (PDT) (envelope-from jonc@itouch.co.nz) Received: (from jonc@localhost) by itouch.co.nz (8.11.3/8.11.1) id f54LlZL45124; Tue, 5 Jun 2001 09:47:35 +1200 (NZST) (envelope-from jonc) Date: Tue, 5 Jun 2001 09:47:35 +1200 From: Jonathan Chen To: Matt Dillon Cc: John Polstra , stable@FreeBSD.ORG, chad@DCFinc.com Subject: Re: Re[2]: time_t definition is worng Message-ID: <20010605094735.C40392@itouchnz.itouch> References: <200106012015.NAA17134@freeway.dcfinc.com> <200106012052.f51KqBT29871@vashon.polstra.com> <200106012149.f51LnI289480@earth.backplane.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200106012149.f51LnI289480@earth.backplane.com>; from dillon@earth.backplane.com on Fri, Jun 01, 2001 at 02:49:18PM -0700 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 ---------------------------------------------------------------------- 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