Subject: Re: It is 1970 years now?
To: Junya Takeuchi <mail@jtake.net>
From: Leo Weppelman <leo@wau.mis.ah.nl>
List: port-atari
Date: 01/26/2001 21:44:26
On Fri, Jan 26, 2001 at 11:44:11PM +0900, Junya Takeuchi wrote:
> Hello,
> I am using NetBSD1.41 with FALCON030(with Phantom 25Mhz)
> In 2001 becoming a serious problem occurred. 
> The date becomes to 1970/01/01.
> It is the problem of karnel?

Yes.. It's a kernel problem. I just noticed last week since I am slowly
recovering from all sorts of hardware failures.

> sys/arch/atari/dev/clock.c
> 
[ .... ]
> 428 if(clkregs[MC_YEAR] > (2000 - GEMSTARTOFTIME))
> 429  return(0);
> 
> There is not a mistake in this description? 

Obviously there is ;-) What bothers me is: why on earth did this 2000 creap
in... I think the whole check on 'clkregs[MC_YEAR]' should be nuked.

Leo.