This is the mail archive of the
mailing list for the glibc project.
Re: Second draft of the Y2038 design document
- From: Paul Eggert <eggert at cs dot ucla dot edu>
- To: Arnd Bergmann <arnd at arndb dot de>, libc-alpha at sourceware dot org
- Cc: Albert ARIBAUD <albert dot aribaud at 3adev dot fr>
- Date: Thu, 28 Jan 2016 16:12:30 -0800
- Subject: Re: Second draft of the Y2038 design document
- Authentication-results: sourceware.org; auth=none
- References: <20160128204114 dot 6c7dbbf7 dot albert dot aribaud at 3adev dot fr> <56AA8465 dot 5040803 at cs dot ucla dot edu> <1683528 dot yWvM1WbPg0 at wuerfel>
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.