On Oct 27, 11:57am, lennox@cs.columbia.edu (lennox@cs.columbia.edu) wrote: -- Subject: Re: Extension to tzcode to support additional timezones | On Wednesday, October 27 2010, "Christos Zoulas" wrote to "tz@lecserver.nci.nih.gov, tz@elsie.nci.nih.gov, jhb@freebsd.org" saying: | | > The second part of the discussion | > is how to deal with tm_zone. Do we document that if you tzfree() you are | > going to lose, or do we make it work using a string pool and thread locks? | > Or something else? | | Remember that this means not only tm_zone per se, but also strftime("%Z"), | on systems which have tm_zone. Indeed. | (On systems without tm_zone, as far as I can tell there's no way to get | strftime("%Z") correct for non-standard timezones, unless I'm overlooking | something.) We have strftime_z() that can deduce it from the timezone_t that is passed in. Otherwise it defaults to the tzname etc. christos