Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Oct 2001 20:20:26 -0400 (EDT)
From:      Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
To:        peter@wemm.org
Subject:   Re: 64 bit times revisited..
Message-ID:  <200110260020.f9Q0KQR63759@khavrinen.lcs.mit.edu>
In-Reply-To: <20011025233602.587C63808@overcee.netplex.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <20011025233602.587C63808@overcee.netplex.com.au> you write:
>Possible solutions:
>1) Do nothing.  (This worked well for Y2K consultants between 1995-2000)
>2) Use 64 bit time_t on new 64 bit platforms.
>2) Switch to 64 bit time_t on 64 bit platforms.
>3) Switch to 64 bit time_t on everything including i386.

V) Do what the Large File Summit did for off_t: define 32- and 64-bit
versions of every interface that uses a time_t, and let a preprocessor
macro switch between them.  Allow five years for migration, at which
point the 32-bit option is removed.  On new platforms (regardless of
native word size), use the 64-bit versions.  Meanwhile, start
deploying a new inode format with 64-bit times.

-GAWollman

-- 
Garrett A. Wollman   | O Siem / We are all family / O Siem / We're all the same
wollman@lcs.mit.edu  | O Siem / The fires of freedom 
Opinions not those of| Dance in the burning flame
MIT, LCS, CRS, or NSA|                     - Susan Aglukark and Chad Irschick

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




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