lkml.org 
[lkml]   [2005]   [May]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: Y2K-like bug to hit Linux computers! - Info of the day
On Fri, 13 May 2005 Valdis.Kletnieks@vt.edu wrote:

> Date: Fri, 13 May 2005 17:22:27 -0400
> From: Valdis.Kletnieks@vt.edu
> To: Chris Friesen <cfriesen@nortel.com>
> Cc: Bill Davidsen <davidsen@tmr.com>, linux-os@analogic.com,
> Srinivas G. <srinivasg@esntechnologies.co.in>,
> linux-kernel-Mailing-list <linux-kernel@vger.kernel.org>
> Subject: Re: Y2K-like bug to hit Linux computers! - Info of the day
>
> On Fri, 13 May 2005 15:07:04 MDT, Chris Friesen said:
>
>> Because that's what the maximum negative number gives?
>
> Good, somebody's paying attention. :)
>
> So what breaks if we change it to an 'unsigned int', and can we fix those
> issues before 2038, and will any of us here now *care* when an unsigned 32-bit
> overflows in 2106 or whenever it is? :)

all values that are currently prior to Jan 1 1970 would become post 2038
dates

Guys, this isn't a new problem, it was discussed quite a bit in 1999 as
well, as were a lot of potential solutions.

David Lang
--
There are two ways of constructing a software design. One way is to make it so simple that there are obviously no deficiencies. And the other way is to make it so complicated that there are no obvious deficiencies.
-- C.A.R. Hoare
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-05-14 01:22    [W:0.070 / U:1.016 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site