This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH v2 0/1] Y2038 support batch 2 - __mktime_internal
- From: "Albert ARIBAUD (3ADEV)" <albert dot aribaud at 3adev dot fr>
- To: libc-alpha at sourceware dot org
- Cc: "Albert ARIBAUD (3ADEV)" <albert dot aribaud at 3adev dot fr>
- Date: Tue, 19 Jun 2018 23:01:11 +0200
- Subject: [PATCH v2 0/1] Y2038 support batch 2 - __mktime_internal
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(-)
--
2.17.1