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


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