Re: Y2k compliance

Tigran Aivazian (tigran@aivazian.demon.co.uk)
Thu, 3 Dec 1998 10:58:45 +0000 (GMT)


There is a:

static unsigned long epoch = 1900; /* year corresponding to 0x00 */

in drivers/char/rtc.c

Regards,
Tigran

On Thu, 3 Dec 1998, Chris Wedgwood wrote:

> On Wed, Dec 02, 1998 at 11:53:57AM +1030, Alan Modra wrote:
>
> > Linux ignores the RTC century byte (for good reason). Before I put
> > this fix in, when the year wrapped to 00 Linux would read the RTC
> > year as 1900. So a reboot (who does that anyway?) would give a
> > classic Y2K time warp.
>
> So how does it know what century it is?
>
>
>
> -cw
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.rutgers.edu
> Please read the FAQ at http://www.tux.org/lkml/
>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/