|
Message-Id: <CQFSLI2OLWBI.3K2TRYXR8IECT@sumire> Date: Sat, 11 Feb 2023 15:10:40 +0100 From: "alice" <alice@...ya.dev> To: <musl@...ts.openwall.com> Cc: "yubing (C)" <yubing12@...wei.com>, "liudongxu" <liudongxu3@...wei.com>, "wangyunhe (A)" <wangyunhe@...wei.com>, "qiuguorui" <qiuguorui1@...wei.com>, "Wanglieming (VRP SSP)" <wanglieming@...wei.com> Subject: Re: Time zone has not updated after call tzset() On Sat Feb 11, 2023 at 7:53 AM CET, zhoujingqiang (A) wrote: > Hello, > > Normally, /etc/localtime is a soft link to a file that stores time zone > information. > > Without setting the TZ environment variable, I change the time zone by > changing the file linked to /etc/localtime. After calling tzset(), I find that > the time zone does not change. The test code is as follows: musl does not support changing the timezone while running. see https://www.openwall.com/lists/musl/2017/06/09/9 , for a response to an identical bug report tl;dr without semantics: you have to restart a running process to get a new timezone.
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.