From owner-freebsd-arch Sun Jun 3 1:16:48 2001 Delivered-To: freebsd-arch@freebsd.org Received: from relay.nuxi.com (nuxi.cs.ucdavis.edu [169.237.7.38]) by hub.freebsd.org (Postfix) with ESMTP id 8D0D237B403 for ; Sun, 3 Jun 2001 01:16:46 -0700 (PDT) (envelope-from obrien@nuxi.ucdavis.edu) Received: from dragon.nuxi.com (root@[206.40.252.115]) by relay.nuxi.com (8.11.2/8.11.2) with ESMTP id f538Gdl86097; Sun, 3 Jun 2001 01:16:39 -0700 (PDT) (envelope-from obrien@NUXI.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.11.3/8.11.1) id f538GdR88992; Sun, 3 Jun 2001 01:16:39 -0700 (PDT) (envelope-from obrien) Date: Sun, 3 Jun 2001 01:16:21 -0700 From: "David O'Brien" To: John Polstra Cc: arch@freebsd.org, drosih@rpi.edu Subject: Re: time_t definition is wrong Message-ID: <20010603011621.A88949@dragon.nuxi.com> Reply-To: obrien@freebsd.org References: <200106012318.f51NI8w38590@bunrab.catwhisker.org> <20010602085237.A73968@dragon.nuxi.com> <200106021739.f52Hd9V03943@earth.backplane.com> <200106022043.f52KhFh35078@vashon.polstra.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200106022043.f52KhFh35078@vashon.polstra.com>; from jdp@polstra.com on Sat, Jun 02, 2001 at 01:43:15PM -0700 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, Jun 02, 2001 at 01:43:15PM -0700, John Polstra wrote: > I'd prefer to keep it as "long" at least on the i386, because that's > what the type was for years before ANSI renamed it to "time_t". We will have to special case all of our code that uses time_t and printf() since our 64-bit types will be "%d", not "%ld", and we'll have to hope all the i386 users remember that when they change things in /usr/src/. I still think it is better to use a consistent time_t definition (and printf format specifier) across all FreeBSD platforms. But if the wind is really swaying that way... I'll concede. -- -- David (obrien@FreeBSD.org) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message