mbox series

[v2,0/1] Y2038 support batch 2 - __mktime_internal

Message ID 20180619210112.1600-1-albert.aribaud@3adev.fr
Headers show
Series Y2038 support batch 2 - __mktime_internal | expand

Message

Albert ARIBAUD (3ADEV) June 19, 2018, 9:01 p.m. UTC
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  | 180 ++++++++++++++++++++++++-------------------------
 time/timegm.c  |  24 +++++--
 3 files changed, 112 insertions(+), 104 deletions(-)