Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re: 2038 bug

by zenn (Sexton)
on Apr 11, 2003 at 13:45 UTC ( #249883=note: print w/replies, xml ) Need Help??

in reply to 2038 bug

You can found in time.c in Linux kernel this comment:
* WARNING: this function will overflow on 2106-02-07 06:28:16 on * machines were long is 32-bit! (However, as time_t is signed, we * will already get problems at other places on 2038-01-19 03:14:08) */

This means that depending on your platform the bug can happen earlier enough to begin to think about it now.
Nevertheless this depends on the size of your time_t type that is usually based in the long c type(in linux I mean). So since kernel 2.3 the developers are thinking about extending this to 64 bits to avoid this kind of problem. I don't know about other platforms, but I think it is easy enough to handle this problem, and this will be addressed soon.


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://249883]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2017-11-24 16:05 GMT
Find Nodes?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:

    Results (350 votes). Check out past polls.