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 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


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