public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Y2038 support batch 1 - __time64_t and __tz_convert
@ 2018-06-13  7:00 Albert ARIBAUD (3ADEV)
  2018-06-13  7:00 ` [PATCH 2/2] Y2038: make __tz_convert compatible with 64-bit-time Albert ARIBAUD (3ADEV)
                   ` (2 more replies)
  0 siblings, 3 replies; 27+ messages in thread
From: Albert ARIBAUD (3ADEV) @ 2018-06-13  7:00 UTC (permalink / raw)
  To: libc-alpha; +Cc: Albert ARIBAUD (3ADEV)

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

^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2018-06-18 13:34 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-13  7:00 [PATCH 0/2] Y2038 support batch 1 - __time64_t and __tz_convert Albert ARIBAUD (3ADEV)
2018-06-13  7:00 ` [PATCH 2/2] Y2038: make __tz_convert compatible with 64-bit-time Albert ARIBAUD (3ADEV)
2018-06-13  9:10   ` Florian Weimer
2018-06-13  9:37     ` Albert ARIBAUD
2018-06-13  9:40       ` Florian Weimer
2018-06-13 10:21         ` Albert ARIBAUD
2018-06-13 10:55           ` Albert ARIBAUD
2018-06-13 13:08           ` Florian Weimer
2018-06-13 14:29             ` Joseph Myers
2018-06-13 14:24         ` Joseph Myers
2018-06-18 13:34           ` Florian Weimer
2018-06-13  9:11   ` Paul Eggert
2018-06-13  9:14     ` Florian Weimer
2018-06-13  9:30       ` Albert ARIBAUD
2018-06-13 14:22     ` Joseph Myers
2018-06-13 14:18   ` Joseph Myers
2018-06-13  7:00 ` [PATCH 1/2] Y2038: add type __time64_t Albert ARIBAUD (3ADEV)
2018-06-13  8:38   ` Paul Eggert
2018-06-13 12:36     ` Albert ARIBAUD
2018-06-13 14:13   ` Joseph Myers
2018-06-13 16:19     ` Albert ARIBAUD
2018-06-13 16:35       ` Paul Eggert
2018-06-13 16:39         ` Joseph Myers
2018-06-13 18:46           ` Paul Eggert
2018-06-13  7:59 ` [PATCH 0/2] Y2038 support batch 1 - __time64_t and __tz_convert Albert ARIBAUD
2018-06-13 14:08   ` Joseph Myers
2018-06-13 15:38     ` Albert ARIBAUD

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).