[tz] A discussion on POSIX on new timezone related C APIs

Guy Harris guy at alum.mit.edu
Thu Nov 12 23:30:49 UTC 2015

On Nov 12, 2015, at 3:17 PM, Christos Zoulas <christos at zoulas.com> wrote:

> If we are going to mandate tm_zone in struct tm, we might as well resolve
> the issue of where/how it is allocated and who free's it, or do we give it a
> fixed buffer. Right now, there is no easy way to return a name, unless we
> are returning the name that is in timezone_t, and even that is iffy because
> then the lifetime of tm->tm_zone is connected with the timezone_t one...

Yeah, I think somebody mentioned the lifetime question in one of the comments on that issue. :-)

More information about the tz mailing list