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


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