Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Jul 1998 08:11:34 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        cdillon@wolves.k12.mo.us, imp@village.org
Cc:        committers@FreeBSD.ORG, des@FreeBSD.ORG, jdp@polstra.com
Subject:   Re: cvs commit: src/release Makefile
Message-ID:  <199807092211.IAA03868@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>: But maybe we should add another zero to the 
>: front so we can claim to be year-10000 compliant.
>
>Not until time_t has more than 32 bits.  To be year 10000 compliant
>you need to have at least 40 bits in your time_t structure, and
>FreeBSD, on intel, has 31 bits currently past 1970.[*]

This limit is not very i386-specific.  On alpha, time_t has 32 bits
since anything else would give incompatible ffs layouts.

>[*] as all of the dates with the top bit set represent dates before
>1970.

Nothing in POSIX or ANSI requires such dates to be supported (or not
supported).

Bruce

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199807092211.IAA03868>