3 ms·
I'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
by q3k 12y ago
I'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.