Re: [PATCH 02/12] tzset: state vars unspecified if geographical TZ

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 6/11/24 13:53, Alejandro Colomar wrote:
+The
+.BR tzset ()
+function initializes these variables to unspecified values if this
Can you confirm that the wording is precise?

Yes, see:

https://austingroupbugs.net/view.php?id=1816

If it initializes to unspecified values, I guess it's legal (IIRC) to
read them (even if useless).  Am I understanding correctly?

Yes, so long as you've called tzset either directly or indirectly. If you've never called tzset then it is a gray area (are they initialized? it would be strange if not, but the standards aren't clear).

By the way, a FUTURE DIRECTIONS section of POSIX will plan to remove the variables (see the URL above). Perhaps you could add a FUTURE DIRECTIONS section?




[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux