Messages in this thread |  | | | Date | Wed, 20 Feb 2008 11:07:02 +0100 (CET) | | From | Thomas Gleixner <> | | Subject | Re: [PATCH] [2/5] Use 2000 offset for 32bit kernels | |
On Sat, 16 Feb 2008, Thomas Gleixner wrote:
> On Sat, 9 Feb 2008, Andi Kleen wrote:
> >
> > We know it is already after 2000.
> >
> > This extends the effective lifetime of 32bit systems by 8 years:
> > from 2030 to 2038.
Could you please explain what magic math does the 2030 -> 2038
extension ?
According to the code the 1970 comparison works until 2069:
year += 1900;
if (year < 1970)
year += 100;
I keep the patch nevertheless as it removes ifdeffery, but I change
the commit log to something sensible and remove the year < 1970 check
as well as it is not longer necessary.
Thanks,
tglx
|  |