This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFC [PATCH] BZ#1077902: New API gettimezone


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]