Second draft of the Y2038 design document
Albert ARIBAUD
albert.aribaud@3adev.fr
Sun Mar 20 08:07:00 GMT 2016
Hi Arnd and Paul,
Le Fri, 29 Jan 2016 09:58:16 +0100, Arnd Bergmann <arnd@arndb.de> a
écrit :
> On Thursday 28 January 2016 16:12:30 Paul Eggert wrote:
> > On 01/28/2016 03:21 PM, Arnd Bergmann wrote:
> > >> Why are struct rusage, getrusage, etc. Y2038-sensitive? They hold
> > >> >intervals, not absolute times.
> > > It can theoretically still overflow, though not at the same time:
> >
> > In that case, I don't understand why nanosleep, setitimer, adjtime,
> > pselect, etc. are not marked as Y2038-sensitive, as they can all
> > overflow a 32-bit time_t in the same way that getrusage can.
>
> Agreed. As Joseph said earlier, it does not really matter whether
> the interface is problematic by itself. If anything uses a time_t,
> it has to be changed along with everything else based on the
> definition of that type.
Thanks for the feedback (and sorry I could not reply earlier). I will
update the list accordingly.
Cordialement,
Albert ARIBAUD
3ADEV
More information about the Libc-alpha
mailing list