From owner-freebsd-stable Fri Jun 1 13:52:20 2001 Delivered-To: freebsd-stable@freebsd.org Received: from wall.polstra.com (rtrwan160.accessone.com [206.213.115.74]) by hub.freebsd.org (Postfix) with ESMTP id B9DA437B422 for ; Fri, 1 Jun 2001 13:52:15 -0700 (PDT) (envelope-from jdp@wall.polstra.com) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.11.3/8.11.1) with ESMTP id f51KqD019790; Fri, 1 Jun 2001 13:52:13 -0700 (PDT) (envelope-from jdp@wall.polstra.com) Received: (from jdp@localhost) by vashon.polstra.com (8.11.3/8.11.0) id f51KqBT29871; Fri, 1 Jun 2001 13:52:11 -0700 (PDT) (envelope-from jdp) Date: Fri, 1 Jun 2001 13:52:11 -0700 (PDT) Message-Id: <200106012052.f51KqBT29871@vashon.polstra.com> To: stable@freebsd.org From: John Polstra Cc: chad@DCFinc.com Subject: Re: Re[2]: time_t definition is worng In-Reply-To: <200106012015.NAA17134@freeway.dcfinc.com> References: <200106012015.NAA17134@freeway.dcfinc.com> Organization: Polstra & Co., Seattle, WA 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 In article <200106012015.NAA17134@freeway.dcfinc.com>, Chad R. Larson wrote: > > From the commit log: > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > revision 1.25 > date: 2001/05/18 01:43:25; author: obrien; state: Exp; lines: +2 -2 > Make _BSD_TIME_T_ (time_t) an `int' rather than `long'. This will help > flag errors where programmers assume time_t is a long, which it is not on > 64-bit platforms. > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > > Well, time_t may or not be a "long", depending on your platform. But it > sure as hell is 64-bits. > > Back out the revision. 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 John D. Polstra & Co., Inc. Seattle, Washington USA "Disappointment is a good sign of basic intelligence." -- Chögyam Trungpa To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message