Patch in a 64 bit clean gmtime_r() and localtime_r() from the y2038 project. http...
authorMichael G Schwern <schwern@pobox.com>
Sat, 13 Sep 2008 00:18:02 +0000 (17:18 -0700)
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Sat, 3 Jan 2009 17:36:05 +0000 (18:36 +0100)
commita272e669f4b28ef6839df6dcd80d81421a1924dc
treed0114ac536208fcdbaff03440cf0e58e7e65f9b7
parentb51c85cfecd5519fb69801887d6d6ebf80d9fce4
Patch in a 64 bit clean gmtime_r() and localtime_r() from the y2038 project. y2038.googlecode.com/ so Perl is no longer subject to the y2038 bug.

Use Quad_t for our 64 bit time_t replacement.

Temporarily through out the "broken localtime work around".  That will
have to be integrated into localtime64_r().

Fix Time::Local to handle the new expanded date range.  "use integer" had
to go as it pegged scalars to 32 bit integers which aren't large enough
to hold the new time range.

There are probably portability issues.  timegm, for example, is not portable.
Also the assumption that "long" is 64 bits is probably wrong.
lib/Time/Local.pm
lib/Time/Local.t
localtime64.c [new file with mode: 0644]
localtime64.h [new file with mode: 0644]
pp_sys.c
t/op/time.t