diff options
author | Nikias Bassen | 2016-09-19 03:10:04 +0200 |
---|---|---|
committer | Nikias Bassen | 2016-09-19 03:10:04 +0200 |
commit | 8d34de3078469aba636846a15bad08198f66fdc8 (patch) | |
tree | db97f8ccb45f35f28348b7e2bffc070b87297089 /plistutil | |
parent | 912cb45928f03355ca162a2f1286ca49eb58155c (diff) | |
download | libplist-8d34de3078469aba636846a15bad08198f66fdc8.tar.gz libplist-8d34de3078469aba636846a15bad08198f66fdc8.tar.bz2 |
Use time64 implementation by Michael G Schwern to extend allowed date/time range
The main benefit of this is to allow date/time values outside of the 32bit time_t
range which is very important on 32bit platforms. But there are also some other
issues that will be fixed with this, for example on macOS, mktime() will not work
for dates < 1902 despite time_t being 64bit.
In the same run this commit will also use a reentrant version of gmtime64_r that
should help in multithreaded scenarios.
Original code taken from: https://github.com/evalEmpire/y2038
Diffstat (limited to 'plistutil')
0 files changed, 0 insertions, 0 deletions