This is a discussion on Y2038 bug may hit Unix, Linux machines within the The Hangout forums, part of the The Lounge category; Hi All: Please go through the following link for more information... http://www.earthtimes.org/articles/show/2707.html...
|
|||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
|||
|
Hi All:
Please go through the following link for more information... http://www.earthtimes.org/articles/show/2707.html |
|
|||
|
The author is obviously trolling with the article (not the OP, the article the OP linked).
But ... I had assumed for all these years that time_t was an unsigned type; I typically use it or unsigned long for timestamps. I actually learned something when I went to disprove the article. Hmm. I never used time_t for historical dates, I've always used other types -- so I've never needed negative values. With a 32-bit unsigned integer, the value would run until 2106. And with 64 bits it runs until ... um, much later Does anyone use negative time_t values? Oh, and doesn't DOS/FAT/MSWindows/NTFS use 32-bit numbers starting from 1900, but with 2-seconds per tick? That would make it roll over in 2037 if I'm right -- but I'm not sure .... |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| installation of Linux on machines having 8+ GB Mem | needee1 | Linux hardware | 1 | 10-17-2007 11:04 PM |
| Viewing the Jakarta-Tomcat pages on Client machines | shilpigoel1 | Networking, Firewalls and Security | 7 | 08-21-2007 10:53 PM |
| UNIX and Linux command for DNS | chiku | Getting started tutorials | 1 | 04-29-2007 04:36 PM |
| How do you ssh into a Linux / UNIX server? | raj | Getting started tutorials | 0 | 04-28-2007 03:11 AM |
| Finding machines S/N and Model Type | mlperry | Linux software | 3 | 10-05-2006 10:15 PM |