[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 2/5] Import idx.h from gnulib
From: |
Bruno Haible |
Subject: |
Re: [PATCH 2/5] Import idx.h from gnulib |
Date: |
Fri, 25 Dec 2020 22:38:24 +0100 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-197-generic; KDE/5.18.0; x86_64; ; ) |
Florian Weimer wrote:
> > diff --git a/include/idx.h b/include/idx.h
> > new file mode 100644
> > index 0000000000..ad7d31a2bc
> > --- /dev/null
> > +++ b/include/idx.h
> > @@ -0,0 +1,113 @@
> > +/* A type for indices and sizes.
> > +
> > + Copyright (C) 2020 Free Software Foundation, Inc.
> > +
> > + This program is free software; you can redistribute it and/or modify
> > + it under the terms of the GNU General Public License as published by
> > + the Free Software Foundation; either version 2, or (at your option)
> > + any later version.
> > +
> > + This program is distributed in the hope that it will be useful,
> > + but WITHOUT ANY WARRANTY; without even the implied warranty of
> > + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> > + GNU General Public License for more details.
> > +
> > + You should have received a copy of the GNU General Public License
> > + along with this program; if not, see <https://www.gnu.org/licenses/>.
> > */
>
> This file is linked into the library itself, so we can only accept
> something that is under a compatible license (probably LGPLv2 or later).
The file is actually under LGPLv2+ [1][2]. You can replace the license
header with an LGPLv2+ header.
Bruno
[1] https://www.gnu.org/software/gnulib/manual/html_node/Gnulib-licensing.html
[2] https://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=blob_plain;f=modules/idx
[PATCH 3/5] Import filename.h from gnulib, Adhemerval Zanella, 2020/12/24