This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] tzset did not catch changes tolocaltime [BZ #21060 ]
- From: Carlos O'Donell <carlos at redhat dot com>
- To: Paul Eggert <eggert at cs dot ucla dot edu>, ma dot jiang at zte dot com dot cn, schwab at suse dot de
- Cc: libc-alpha at sourceware dot org
- Date: Mon, 17 Dec 2018 23:24:21 -0500
- Subject: Re: [PATCH] tzset did not catch changes tolocaltime [BZ #21060 ]
- References: <201812172006103612868@zte.com.cn> <433a502e-a259-badf-ec60-70308eb544c2@cs.ucla.edu>
On 12/17/18 5:23 PM, Paul Eggert wrote:
> I followed up in the bug report, here:
>
> https://sourceware.org/bugzilla/show_bug.cgi?id=21060#c1
>
In the case of reloading if TZ or /etc/localtime has changed we are in
the same realm of problem as /etc/resolv.conf reloading, it's something
we would like to be able to do, but you're going to need more cleverness
to avoid the costly operations, otherwise it's lost performance for
little to no gain. Most developers don't change /etc/localtime, and in
many countries it is a stable set of daylight savings transitions (and
if they change you need to restart).
The naive implementation is not going to be sufficient.
--
Cheers,
Carlos.