Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

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.

Zenn


Comment on Re: 2038 bug
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://249883]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2014-12-22 02:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (110 votes), past polls