Re: Moving C11 Functions from winsup to newlib

Corinna Vinschen <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <[email protected]>
On Mar 17 15:13, Brian Inglis wrote:
> On 2025-03-17 13:20, Joel Sherrill wrote:
> > 
> > 
> > On Mon, Mar 17, 2025 at 1:18 PM Corinna Vinschen <[email protected]
> > <mailto:[email protected]>> wrote:
> > 
> >     On Mar 17 09:48, Joel Sherrill wrote:
> >      > Thanks. Sounds like moving the uchar.h file is a good idea. But newlib will
> >      > need its
> >      > own more flexible implementation.
> > 
> >     Exactly.
> > 
> >      > What about the C11 function timespec_get? Cygwin has the obvious
> >      > implementation. Should that just go in time/?
> 
> Are Cygwin implementations not LGPL-3.0-or-later (with linking exception -
> irrelevant here)?
> 
> 	https://cygwin.com/licensing.html
> 
> 	https://cygwin.com/COPYING.LIB

Some Cygwin functions and headers are based on original BSD code.  Those
can be moved around at will.  Other code can be moved from Cygwin
licensing to newlib licensing as well, if the authors are ok with that,
or the function is trivial enough.

uchar.h as well as timespec_get are both authored by me, and I don't have
any problems moving the files / functions into BSD-like licensing.
timespec_get is trivial, too.


Corinna
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.