This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH 0/8] Y2038 struct tm related patches
- From: "Albert ARIBAUD (3ADEV)" <albert dot aribaud at 3adev dot fr>
- To: libc-alpha at sourceware dot org
- Date: Wed, 21 Nov 2018 01:28:36 +0100
- Subject: [PATCH 0/8] 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.
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 (1):
Y2038: make __mktime_internal compatible with __time64_t
include/time.h | 81 ++++++++++++++++++++++++++++++++++++++++++------
time/ctime.c | 14 +++++++++
time/ctime_r.c | 13 ++++++++
time/gmtime.c | 33 ++++++++++++++++++--
time/localtime.c | 35 ++++++++++++++++++---
time/mktime.c | 67 ++++++++++++++++++++++++++-------------
time/offtime.c | 12 +++----
time/timegm.c | 21 +++++++++++--
time/tzfile.c | 14 +++------
time/tzset.c | 27 ++++++----------
10 files changed, 242 insertions(+), 75 deletions(-)
--
2.17.1