Linus time is running out

Do you have a question? Post it now! No Registration Necessary

Translate This Thread From English to

As is well known, Linux time (seconds since Jan 1st 1970) will exceed the
limits of a 32-bit int early in 2038. What is the official fix to this?

AFAICS, 64-bit versions of Linux have already moved to a long int (64
bits), and you might think that 2038 is still far enough away not to start
worrying yet.

But for sure, embedded systems are being built today that may well still
be running when the time comes. Moreover, small embedded systems tend to
use the smallest ARM processor that will fill the requirements of the
application, which will ususally be a 32-bit architecture.

So what can people writing embedded systems today do to ensure that things
carry on past the deadline? It will not suffice to redefine time_t, since
there are lots of routines in libc that still expect the present
definition.

--  
Charles H. Lindsey ---------At Home, doing my own thing------------------------
Tel: +44 161 436 6131            Web: http://www.cs.man.ac.uk/~chl
We've slightly trimmed the long signature. Click to see the full one.

Site Timeline