Re: potato install-items


Subject: Re: potato install-items
From: Kerstin Hoef-Emden (Kerstin.Hoef-Emden@Uni-Koeln.DE)
Date: Sun Apr 09 2000 - 05:03:42 PDT


Hi,

On 8 Apr 2000, David Huggins-Daines wrote:

> this little gem (arch/alpha/kernel/time.c, line 309):
>
> if ((year += 1900) < 1970)
> year += 100;
>
> But 'year' here is being read from NVRAM and is not a two-digit offset
> from 1900 except when the console type is set to VMS. So, in your
> case, if you set the year to 2000 in the ARC console, the kernel will
> read 20 here, then dutifully add 100 to it and call mktime() with a
> year of 120, i.e. 2020. Likewise with SRM - 2000 = 48 in console
> years.
>
> You know, this could be construed as a Y2K bug.

These things were reported en masse in risks.digest. Some
systems even jumped to 19200. And last year there was an April 1
risks-digest presenting solutions for the y10k problem approaching.

:-)

Regards,

Kerstin

-- 

kerstin.hoef-emden@uni-koeln.de

-- To UNSUBSCRIBE, email to debian-alpha-request@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



This archive was generated by hypermail 2a22 : Mon May 01 2000 - 18:42:04 PDT