Skip Menu |

This queue is for tickets about the Time-y2038 CPAN distribution.

Report information
The Basics
Id: 54051
Status: resolved
Priority: 0/
Queue: Time-y2038

People
Owner: Nobody in particular
Requestors: mschwern [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)



Subject: OS X's 64 bit time.h broken for very distant dates
Long story short, OS X's 64 bit time.h, at least in 10.6.2, is off by a day at localtime(-2**52) and gmtime(-2**52) which messes up testing. The solution is to detect this breakage and set SYSTEM_LOCALTIME_MIN appropriately. I don't know how far back this breakage goes.
Found where it breaks. Added in code to limit OS X 10.6.