mailing list of musl libc
 help / color / mirror / code / Atom feed
* do_tzset() prevents reusing the same name of a timezone file
@ 2014-10-17 20:20 Королев Сергей
  2014-10-19  2:20 ` Rich Felker
  0 siblings, 1 reply; 6+ messages in thread
From: Королев Сергей @ 2014-10-17 20:20 UTC (permalink / raw)
  To: musl

[-- Attachment #1: Type: text/plain, Size: 424 bytes --]

Hi, all.

I have a question about do_tzset() function implementation (musl v1.1.5).
The function has the following conditions to prevent timezone file remapping

if (old_tz && !strcmp(s, old_tz)) return;


which do not allow to use "TZ" environment variable pointing to the same
file (e.g. /etc/localtime). But some distros replace this file directly or
use it as a symlink.

Is this limitation a bug or a feature?

Thanks.

[-- Attachment #2: Type: text/html, Size: 797 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-10-19 17:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-17 20:20 do_tzset() prevents reusing the same name of a timezone file Королев Сергей
2014-10-19  2:20 ` Rich Felker
2014-10-19  7:26   ` Королев Сергей
2014-10-19  9:36     ` u-wsnj
2014-10-19 10:00       ` Timo Teras
2014-10-19 17:33         ` Rich Felker

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).