This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]