This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 1/2] Y2038: add type __time64_t
Hi Paul,
On Wed, 13 Jun 2018 01:38:09 -0700, Paul Eggert <eggert@cs.ucla.edu>
wrote :
> Albert ARIBAUD (3ADEV) wrote:
> > -__STD_TYPE __TIME_T_TYPE __time_t; /* Seconds since the Epoch. */
> > +__STD_TYPE __TIME_T_TYPE __time_t; /* Seconds since the Epoch, Y2038-unsafe. */
>
> This change to commentary is confusing, as __time_t is Y2038-safe on 64-bit
> hosts. I suggest omitting the change, and changing the comment on the next line
> to "Seconds since the Epoch (TIME_BITS==64)" (or whatever the name of that macro
> is).
Fixed locally as suggested, will repost once 2/2 discussion is complete.
Cordialement,
Albert ARIBAUD
3ADEV