mbox series

[v2,0/5] Y2038: process remaining struct tm conv functions

Message ID 20181218140955.7910-1-albert.aribaud@3adev.fr
Headers show
Series Y2038: process remaining struct tm conv functions | expand

Message

Albert ARIBAUD (3ADEV) Dec. 18, 2018, 2:09 p.m. UTC
These five patches are similar to commit 6e15f3e just applied for
function localtime ; each one covers one of the other functions
converting to or from struct tm.

v2: added period and double spaces where missing in comments
    added libc_hidden_proto / libc_hidden_def
    added missing #else part of __gmtime64 declaration
    removed extra call arguments in some wrapper definitions

Series tested with 'make check' on x86_64-linux-gnu and i686-linux.gnu.

Albert ARIBAUD (3ADEV) (5):
  Y2038: add function __localtime64_r
  Y2038: add function __gmtime64
  Y2038: add function __gmtime64_r
  Y2038: add function __ctime64
  Y2038: add function __ctime64_r

 include/time.h   | 38 ++++++++++++++++++++++++++++++++++++++
 time/ctime.c     | 19 +++++++++++++++++--
 time/ctime_r.c   | 19 +++++++++++++++++--
 time/gmtime.c    | 36 +++++++++++++++++++++++++++++++++---
 time/localtime.c | 17 ++++++++++++++++-
 5 files changed, 121 insertions(+), 8 deletions(-)