RFC [PATCH] BZ#1077902: New API gettimezone

Paul Eggert eggert@cs.ucla.edu
Fri Apr 4 06:39:00 GMT 2014


P J P wrote:
> TZ is not set by default on most systems for '/etc/localtime' is almost always accessible.

If you consider this to be a problem, then I suggest campaigning to 
change this practice, so that TZ is set by default.  That is much 
simpler than trying to convince library developers to add a new API with 
hard-to-explain semantics, and then to convince application developers 
to use it.  There should be no need to add a complicated API to work 
around an operational problem that is easily addressed by configuring 
systems correctly in the first place.



More information about the Libc-help mailing list