4 ms·
What version of the iMac was this? Surely modern OSX has already converted to a more appropriate storage mechanism for the date?
by mtrpcic 12y ago
What version of the iMac was this? Surely modern OSX has already converted to a more appropriate storage mechanism for the date?
- q3k 12y agoI'm not a XNU hacker, but it looks like they haven't. Their time_t typedef seems to be a __darwin_time_t [1], which in turn looks like to be 32-bit signed long [2]. As far as I know, the only major operating system that has dealt with Y2038 is OpenBSD [3]. [1] - https://github.com/opensource-apple/xnu/blob/bb7368935f659ada117c0889612e379c97eb83b3/bsd/sys/_types/_time_t.h#L30 https://github.com/opensource-apple/xnu/blob/bb7368935f659ad... [2] - https://github.com/opensource-apple/xnu/blob/bb7368935f659ada117c0889612e379c97eb83b3/bsd/i386/_types.h#L120 https://github.com/opensource-apple/xnu/blob/bb7368935f659ad... [3] - http://www.openbsd.org/55.html http://www.openbsd.org/55.html , http://www.undeadly.org/cgi?action=article&sid=20130813072244 http://www.undeadly.org/cgi?action=article&sid=2013081307224...
- justincormack 12y agoNetBSD fixed 2038 a couple of years before OpenBSD. Made less fuss over it though.
- 0x0 12y agoIt was some years ago, I can't remember if it was a 32bit or a 64bit intel. Probably of the OSX 10.6/10.7 vintage.