Hi Paul, On Tue, Jun 11, 2024 at 03:30:54PM GMT, Paul Eggert wrote: > 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). Thanks. > 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? Hmmm. There's prior art in POSIX, so I guess we can use that name. Wanna send a patch or two? :) Cheers, Alex -- <https://www.alejandro-colomar.es/>
Attachment:
signature.asc
Description: PGP signature