This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PING] RFC [PATCH] BZ#1077902: New API gettimezone
- From: Paul Eggert <eggert at cs dot ucla dot edu>
- To: P J P <pj dot pandit at yahoo dot co dot in>, "libc-alpha at sourceware dot org" <libc-alpha at sourceware dot org>
- Date: Sat, 12 Apr 2014 10:03:32 -0700
- Subject: Re: [PING] RFC [PATCH] BZ#1077902: New API gettimezone
- Authentication-results: sourceware.org; auth=none
- References: <1396499286 dot 85118 dot YahooMailNeo at web192405 dot mail dot sg3 dot yahoo dot com> <1397301884 dot 32837 dot YahooMailNeo at web192402 dot mail dot sg3 dot yahoo dot com>
I'm afraid that subsequent discussion, both on this mailing list and on
libc-help, has made it clear that the proposed API is not likely to
reach consensus. The underlying application problem can already be
addressed in a standard way, by setting and getting the TZ environment
variable; it's not significantly harder to modify an entire application
that way, as to modify it to add a nonstandard library call. And even
if the need were greater, the proposed implementation does not work in
general, because TZ binary files do not always end with strings that are
appropriate TZ settings.