Re: Y2K

Richard B. Johnson (root@chaos.analogic.com)
Fri, 19 Jun 1998 11:09:01 -0400 (EDT)


On Sat, 20 Jun 1998, Alan Modra wrote:

>
> On Fri, 19 Jun 1998, Rogier Wolff wrote:
>
> > This is not true. The question is: since when is THIS code snippet
> > in the linux kernel?
> >
> > linux/arch/i386/kernel/time.c: get_cmos_time:
> >
> > if ((year += 1900) < 1970)
> > year += 100;
>
> Since around July 94, when I added it as part of a patch to fix Linux for
> the silly half-hour timezone we have here in South Australia. The patch
> was against kernel 1.1.17, so I think kernels 1.1.18 and above were Y2K
> compliant.
>

This is in the get_cmos_time procedure. I don't think your patch was
here. This code fixes the fact that the CMOS clock doesn't update the
BCD Century byte on its own.

Cheers,
Dick Johnson
***** FILE SYSTEM MODIFIED *****
Penguin : Linux version 2.1.105 on an i586 machine (66.15 BogoMips).
Warning : It's hard to remain at the trailing edge of technology.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu