This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH v2 0/9] Y2038 struct tm related patches
- From: "Albert ARIBAUD (3ADEV)" <albert dot aribaud at 3adev dot fr>
- To: libc-alpha at sourceware dot org
- Date: Thu, 29 Nov 2018 23:10:01 +0100
- Subject: [PATCH v2 0/9] Y2038 struct tm related patches
This series introduces Y2038-proof struct tm related functions.
First, it makes __tz_convert 64-bit-time compatible, as this function
is used in several struct tm related public interfaces. Then it adds
Y2038-proof versions of said interfaces.
v2:
- each commit message now mention how the patch was tested
- a ninth patch is added for mktime.c simplification and GNULIB compat.
Albert ARIBAUD (3ADEV) (7):
Y2038: make __tz_convert compatible with 64-bit-time
Y2038: add function __localtime64
Y2038: add function __localtime64_r
Y2038: add function __gmtime64
Y2038: add function __gmtime64_r
Y2038: add function __ctime64
Y2038: add function __ctime64_r
Paul Eggert (2):
Y2038: make __mktime_internal compatible with __time64_t
Fix time/mktime.c and time/gmtime.c for gnulib compatibility
include/time.h | 81 ++++++++++++++++++++++++++++++++++++++++++------
time/ctime.c | 14 +++++++++
time/ctime_r.c | 13 ++++++++
time/gmtime.c | 33 ++++++++++++++++++--
time/localtime.c | 35 ++++++++++++++++++---
time/mktime.c | 79 ++++++++++++++++++++++++++++++----------------
time/offtime.c | 12 +++----
time/timegm.c | 27 +++++++++++++++-
time/tzfile.c | 14 +++------
time/tzset.c | 27 ++++++----------
10 files changed, 258 insertions(+), 77 deletions(-)
--
2.17.1