[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]
New y2038 patch, working on Windows and Cygwin.
The "working on Windows" is conditional on two things...
1) HAS_QUAD is defined and Quad_t exists.
2) LOCALTIME_MIN and GMTIME_MIN are hard coded to 0 and not -43200
The patch tries to hack it into the VC config files, I'm not sure how
successful it was. If the Windows gurus could give it some love that would be
nice.
And by "Windows" I man "Visual Studio Express 2008". The rest should work
with proper config tweaking.
Here are the showstoppers...
The above Windows configure fixes.
http://code.google.com/p/y2038/issues/detail?id=33
Code to do something sensible when HAS_QUAD is not defined. Using a double
will be complicated. Might just fall back to the system functions.
http://code.google.com/p/y2038/issues/detail?id=32
Integrate into the Perl build process. I don't know how to do this.
http://code.google.com/p/y2038/issues/detail?id=34
And the nice-to-haves...
Test with a non-integer time_t (anyone know of a system that does that?)
http://code.google.com/p/y2038/issues/detail?id=28
Use SvIVs, rather than the float hacks, on a 64 bit scalar system.
http://code.google.com/p/y2038/issues/detail?id=19
Fix the floating point hacks (requires fixing %lld and maybe making SvQV)
http://code.google.com/p/y2038/issues/detail?id=35
--
54. "Napalm sticks to kids" is *not* a motivational phrase.
-- The 213 Things Skippy Is No Longer Allowed To Do In The U.S. Army
http://skippyslist.com/list/
y2038.patch
- Follow-Ups from:
-
"Steve Hay" <SteveHay@planit.com>
[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]