This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 2/6] nptl: Convert tst-cond11.c to use libsupport


On Thursday 04 April 2019 at 14:48:12 -0700, Paul Eggert wrote:
> On 4/4/19 5:45 AM, Mike Crowe wrote:
> > Since you're the author I'm wary of arguing, but in current gnulib master
> > modules/timespec-add contains:
> >
> >  License:
> >  GPL
> 
> Ah, you're looking at the wrong module. Try modules/timespec.

Perhaps I'm being completely inept, but using gnulib-tool to import
modules/timespec just seems to bring in timespec.h (which includes only
declarations of timespec_add and timespec_sub) and timespec.c (which
contains no code.) The actual implementations in timespec-add.c and
timespec-sub.c are not imported.

> Besides, we routinely change Gnulib library code from GPL to LGPL if the
> code is reasonable to use in library code, which is the case here.

I shall proceed on the basis that the implementations in gnulib's
timespec-add.c and timespec-sub.c are safe to bring into glibc and be
relicensed as LGPLv2.1+.

Thanks for your help.

Mike.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]