First draft of the Y2038 design document
Paul Eggert
eggert@cs.ucla.edu
Tue Oct 27 22:52:00 GMT 2015
On 10/27/2015 03:42 PM, Rich Felker wrote:
> This is only a requirement when executing the standard utilities or
> calling functions which depend on TZ.
No, it's a requirement that conforming applications cannot set TZ to a
value like "right/America/Los_Angeles", at all times. This is not a
requirement that a conforming application can blithely ignore merely
because it's currently executing certain functions. This is clearly
stated in the environment-variable section.
> In any case glibc does not do this but just
> gets it wrong on the matter of permitted vs forbidden side efficts.
This seems to be veering into a different area, where perhaps there is a
glibc bug (presumably which can be illustrated by using only
POSIX-specified TZ values), but that's a different matter.
More information about the Libc-alpha
mailing list