3 ms·
Year 2038 Problem : Unix Millenium Bug
- Allocator2008 18y agoThe fix for this is easy. In types.h change typedef long time_t; to typedef long long time_t; Thereby doubling the amount of space for time_t. Future applications written in c should have this fix or something like it.
- sarvesh 18y agoIt isn't that simple it will break binary compatibility. 64 bit systems should be fine as but older 32 bit will be a problem and there is a lot firmware, embedded systems that won't be updated on time and that's where most of the problems will show up.
- jff 18y agoThis bug is ancient.