Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Jan 1999 23:26:51 +0100 (CET)
From:      Leif Neland <leif@swimsuit.internet.dk>
To:        Matt Curtin <cmcurtin@interhack.net>
Cc:        sporkl@ix.netcom.com, "Steven P. Donegan" <donegan@quick.net>, current@FreeBSD.ORG
Subject:   Re: Y2K, Y 2038?
Message-ID:  <Pine.BSF.4.05.9901022324540.395-100000@arnold.swimsuit.internet.dk>
In-Reply-To: <xlxzp81pzrp.fsf@gold.cis.ohio-state.edu>

next in thread | previous in thread | raw e-mail | index | archive | help


On 2 Jan 1999, Matt Curtin wrote:

> Spike Gronim <spork@ix.netcom.com> writes:
> 
> > In 2038 32 bit systems are going to run out of room to keep counting
> > seconds. This is 38 years off, and will hopefully be fixed by then. 
> 
> We'll run out of seconds on 32 bit systems well before 38 years from
> now.  Consider that some banks are now offering 35 year mortgages, and 
> that it will be necessary to perform date calculations to the end of
> those loans.
> 
> The wishful thinking about it being "fixed by then" is common, but
> doesn't really fly.  Fixing the problem in the OS isn't a *huge* deal.
> (One could change the time() to return a 64 bit value.)  The result,
> of course, would be dealing with all of the software that expects
> time() to return a 32 bit value. 

Well, instead of changing time(), another function ltime() could be made, 
which returned 64 bit value instead.

Leif




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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9901022324540.395-100000>