Re: Status on timegm()

Pedro Henrique <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <CPRP152MB62028A352F306AE95F6A22F68E702@CPRP152MB6202.LAMP152.PROD.OUTLOOK.COM>
Thanks for the tip, but I was mainly referring to adding it to newlib. What's keeping it from happening? Or it won't happen at all? C20 standardized it, which should count for something, no?

On Oct 2, 2024 11:03 AM, Paul Koning <[email protected]> wrote:

I didn't' see that discussion. But if you need an unencumbered set of time conversion functions, look in the "tzcode" package that is part of the tzdata project; with listed exceptions that entire package is in the public domain. In particular, timegm() can be found in file localtime.c in that package, and the header of that file confirms it is in the public domain. (FWIW, the exceptions are stated to be covered by the BSD 3-clause license.)



paul



> On Oct 1, 2024, at 8:53 PM, Pedro Henrique <[email protected]> wrote:

> 

> Seems Brian Inglis expressed concerns about licensing issues and R. Diez gave up on it, adding it to picolib instead.

> Is there an actual blocker on this?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.