This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH 0/2] Y2038 support batch 1 - __time64_t and __tz_convert
- 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: Wed, 13 Jun 2018 09:00:17 +0200
- Subject: [PATCH 0/2] Y2038 support batch 1 - __time64_t and __tz_convert
This is the first batch of Y2038 support patches.
The first patch provides __time64_t, the 64-bit counterpart of time_t,
to be used in 64-bit-time implementations of public APIs related to time.
The second makes __tz_convert compatible with 64-bit time. This implies
creating 64-bit-time versions of its callers and turning their original
(32-bit-time) versions into wrappers.
Albert ARIBAUD (3ADEV) (2):
Y2038: add type __time64_t
Y2038: make __tz_convert compatible with 64-bit-time
bits/typesizes.h | 1 +
include/time.h | 29 +++++++++++---
posix/bits/types.h | 3 +-
sysdeps/mach/hurd/bits/typesizes.h | 1 +
.../unix/sysv/linux/alpha/bits/typesizes.h | 1 +
.../unix/sysv/linux/generic/bits/typesizes.h | 1 +
sysdeps/unix/sysv/linux/s390/bits/typesizes.h | 1 +
.../unix/sysv/linux/sparc/bits/typesizes.h | 1 +
sysdeps/unix/sysv/linux/x86/bits/typesizes.h | 1 +
time/Versions | 5 +++
time/ctime.c | 21 ++++++++--
time/ctime_r.c | 21 ++++++++--
time/gmtime.c | 38 ++++++++++++++++---
time/localtime.c | 36 ++++++++++++++++--
time/offtime.c | 12 +++---
time/tzfile.c | 14 ++-----
time/tzset.c | 30 ++++++---------
17 files changed, 160 insertions(+), 56 deletions(-)
--
2.17.1