[PATCH 0/1] Y2038 support batch 2 - __mktime_internal
Albert ARIBAUD (3ADEV)
albert.aribaud@3adev.fr
Tue Jun 19 12:16:00 GMT 2018
This is the second batch of Y2038 support changes.
It applies above the first batch.
This change batch makes __mktime_internal compatible with 64-bit time.
This implies creating 64-bit-time versions of its callers and turning
their original versions into wrappers if they were 32-bit-time.
These patches are functionally tested as part of the whole Y2038 patch
series using the ad hoc framework at https://github.com/3adev/y2038 which
runs tests using times below, at and beyond the Y2038 limit.
These patches were also run through build-many-glibcs.py to ensure that
existing glibc configurations are not broken. The minimal configuration
set used is x86_64-linux-gnu, aarch64-linux-gnu, powerpc-linux-gnu, and
arm-linux-gnueabi.
Albert ARIBAUD (3ADEV) (1):
Y2038: make __mktime_internal compatible with 64-bit-time
include/time.h | 12 +++++-----
time/mktime.c | 62 +++++++++++++++++++++++++++++++-------------------
time/timegm.c | 24 ++++++++++++++-----
3 files changed, 63 insertions(+), 35 deletions(-)
--
2.17.1
More information about the Libc-alpha
mailing list