From owner-freebsd-arch Sat Oct 27 8:41:28 2001 Delivered-To: freebsd-arch@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id 063D637B403; Sat, 27 Oct 2001 08:41:25 -0700 (PDT) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id BAA02045; Sun, 28 Oct 2001 01:41:20 +1000 Date: Sun, 28 Oct 2001 01:40:22 +1000 (EST) From: Bruce Evans X-X-Sender: To: John Baldwin Cc: Dag-Erling Smorgrav , Mike Smith , Bakul Shah , Poul-Henning Kamp , Peter Wemm , , Matthew Dillon Subject: Re: 64 bit times revisited.. In-Reply-To: Message-ID: <20011028013151.Q96378-100000@delplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Fri, 26 Oct 2001, John Baldwin wrote: > On 27-Oct-01 John Baldwin wrote: > > You did read the e-mail from Garrett where either SUS or POSIX one requires > > time_t to fit in a long? I.e. sizeof(time_t) <= sizeof(long). This means > ... > My bad. C90 requires that time_t fit into a long according to Garrett. POSIX > requires it to be either an integer or floating point with the fractional part > zero according to his mail as well. C90 only requres that time_t is an arithmetic type (anything from signed char to long double). POSIX also specifies a (wrong) representation (one that ensures that leap seconds can't possibly work). Changing time_t to long double would be interesting. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message