This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: ~/.localtime ?
- From: Roland McGrath <roland at hack dot frob dot com>
- To: Andreas Jaeger <aj at suse dot com>
- Cc: libc-alpha <libc-alpha at sourceware dot org>, meissner at suse dot de
- Date: Thu, 1 Mar 2012 11:15:44 -0800 (PST)
- Subject: Re: ~/.localtime ?
- References: <4F4F2DBD.7010206@suse.com>
Running programs are not going to be reliably affected unless you provoke
them to call tzset or equivalent, anyway. Having things stat'ing a file
implicitly all the time just to see if it changed is not viable because of
the performance hit and unwanted exposure to filesystem flakiness. So I
don't think you can reasonably get what you're after this way. Having
things refer to a new file implicitly has all sorts of other complications
wrt security concerns and so on.