Discussion:
getopt copyright header
(too old to reply)
Bruno Haible
2017-10-06 18:25:47 UTC
Permalink
Raw Message
The copyright headers of getopt*.h make it sound as if all of gnulib
were under LGPLv2+. But much of gnulib is under GPL. Here's a proposed
wording change.


2017-10-06 Bruno Haible <***@clisp.org>

getopt-posix: Clarify copyright header.
* lib/getopt.in.h: Don't state that gnulib is under LGPL.
* lib/getopt-pfx-core.h: Likewise.
* lib/getopt-pfx-ext.h: Likewise.
* lib/getopt-cdefs.in.h: Likewise.

diff --git a/lib/getopt-cdefs.in.h b/lib/getopt-cdefs.in.h
index b126f33..104ed93 100644
--- a/lib/getopt-cdefs.in.h
+++ b/lib/getopt-cdefs.in.h
@@ -4,12 +4,12 @@
Unlike most of the getopt implementation, it is NOT shared
with the GNU C Library.

- gnulib is free software; you can redistribute it and/or modify it
+ This file is free software; you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as
published by the Free Software Foundation; either version 2.1 of
the License, or (at your option) any later version.

- gnulib is distributed in the hope that it will be useful, but
+ This file 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
Lesser General Public License for more details.
diff --git a/lib/getopt-pfx-core.h b/lib/getopt-pfx-core.h
index 311681d..a6798b4 100644
--- a/lib/getopt-pfx-core.h
+++ b/lib/getopt-pfx-core.h
@@ -4,12 +4,12 @@
Unlike most of the getopt implementation, it is NOT shared
with the GNU C Library.

- gnulib is free software; you can redistribute it and/or modify it
+ This file is free software; you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as
published by the Free Software Foundation; either version 2.1 of
the License, or (at your option) any later version.

- gnulib is distributed in the hope that it will be useful, but
+ This file 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
Lesser General Public License for more details.
diff --git a/lib/getopt-pfx-ext.h b/lib/getopt-pfx-ext.h
index 1d6f80d..9150e6c 100644
--- a/lib/getopt-pfx-ext.h
+++ b/lib/getopt-pfx-ext.h
@@ -4,12 +4,12 @@
Unlike most of the getopt implementation, it is NOT shared
with the GNU C Library.

- gnulib is free software; you can redistribute it and/or modify it
+ This file is free software; you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as
published by the Free Software Foundation; either version 2.1 of
the License, or (at your option) any later version.

- gnulib is distributed in the hope that it will be useful, but
+ This file 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
Lesser General Public License for more details.
diff --git a/lib/getopt.in.h b/lib/getopt.in.h
index 439af49..84f060f 100644
--- a/lib/getopt.in.h
+++ b/lib/getopt.in.h
@@ -5,12 +5,12 @@
with the GNU C Library, which supplies a different version of
this file.

- gnulib is free software; you can redistribute it and/or modify it
+ This file is free software; you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as
published by the Free Software Foundation; either version 2.1 of
the License, or (at your option) any later version.

- gnulib is distributed in the hope that it will be useful, but
+ This file 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
Lesser General Public License for more details.
Paul Eggert
2017-10-06 18:30:09 UTC
Permalink
Raw Message
Thanks, looks good to me.
Zack Weinberg
2017-10-06 18:51:21 UTC
Permalink
Raw Message
Sorry about that. glibc's default copyright headers refer to the
library as a whole as being under the LGPL and it didn't occur to me
to check whether the gnulib policy is different.
Post by Paul Eggert
Thanks, looks good to me.
Bruno Haible
2017-10-06 19:57:33 UTC
Permalink
Raw Message
Post by Paul Eggert
Thanks, looks good to me.
OK, I've pushed it.
Post by Paul Eggert
Sorry about that. glibc's default copyright headers refer to the
library as a whole as being under the LGPL and it didn't occur to me
to check whether the gnulib policy is different.
Sure, the handling of copyright headers in gnulib is not something I would
have expected you to know about. No problem.

Bruno

Loading...