[quake3-bugzilla] [Bug 4853] sys_timeBase should change to time_t to properly allow 2038+

bugzilla-daemon at icculus.org bugzilla-daemon at icculus.org
Sun Dec 19 19:43:22 EST 2010


http://bugzilla.icculus.org/show_bug.cgi?id=4853

--- Comment #3 from tinkah <arxeio at gmail.com> 2010-12-19 19:43:19 EST ---
unsigned long goes beyond 2038. The point was that that any OS designed to work
beyond 2038 (e.g anything that could be sold around 2020 onwards) would have a
time_t that works for it since it's ..'time'_t.

some programmers worry that time_t will remain 32bit to support backwards
compatibility but it's silly believing OSes will let everything break at 2038
to support legacy code up to the last moment of 2037.

PS. Some believe 'long' will be 64bit everywhere in some time but in that logic
time_t is better since it is for time after all (and what timeval supports).

-- 
Configure bugmail: http://bugzilla.icculus.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the quake3-bugzilla mailing list