lkml.org 
[lkml]   [2008]   [Feb]   [20]   [last100]   RSS Feed
Views: [more markup]   [less markup]   [headers]   [forward]  
 
Messages in this thread
/
DateWed, 20 Feb 2008 11:07:02 +0100 (CET)
FromThomas Gleixner <>
SubjectRe: [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


\
 
 \ /
  Last update: 2008-02-20 11:09    [from the cache]
©2003-2008