From: Bruno Haible Date: Tue, 7 Feb 2023 12:36:23 +0000 (+0100) Subject: Fix a copyright header - module license mismatch. X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=6fecafc4e150f66a138c0a1856f2907eeedd0dbc;p=gnulib.git Fix a copyright header - module license mismatch. Reported by Bjarni Ingi Gislason in . * lib/gen-uni-tables.c (output_predicate): For uniwidth/width2.h, use an LGPLv2+ license. (output_nonspacing_property): Use an LGPLv2+ license. * lib/uniwidth/width0.h: Regenerated. * lib/uniwidth/width2.h: Likewise. --- diff --git a/ChangeLog b/ChangeLog index 0bb825d02a..e44b0ebd40 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,14 @@ +2023-02-07 Bruno Haible + + Fix a copyright header - module license mismatch. + Reported by Bjarni Ingi Gislason in + . + * lib/gen-uni-tables.c (output_predicate): For uniwidth/width2.h, use an + LGPLv2+ license. + (output_nonspacing_property): Use an LGPLv2+ license. + * lib/uniwidth/width0.h: Regenerated. + * lib/uniwidth/width2.h: Likewise. + 2023-02-06 Bruno Haible setlocale-null: Don't use a lock in Cygwin >= 3.4.6. diff --git a/lib/gen-uni-tables.c b/lib/gen-uni-tables.c index 298d9689bc..8e4bcf194a 100644 --- a/lib/gen-uni-tables.c +++ b/lib/gen-uni-tables.c @@ -1,7 +1,7 @@ /* Generate Unicode conforming character classification tables and line break properties tables and word break property tables and decomposition/composition and case mapping tables from a UnicodeData file. - Copyright (C) 2000-2002, 2004, 2007-2022 Free Software Foundation, Inc. + Copyright (C) 2000-2002, 2004, 2007-2023 Free Software Foundation, Inc. Written by Bruno Haible , 2000-2002. This program is free software: you can redistribute it and/or modify @@ -771,7 +771,9 @@ output_predicate (const char *filename, bool (*predicate) (unsigned int), const fprintf (stream, "/* Copyright (C) 2000-2022 Free Software Foundation, Inc.\n"); fprintf (stream, "\n"); - output_library_license (stream, strcmp (filename, "unictype/categ_M.h") == 0); + output_library_license (stream, + strcmp (filename, "unictype/categ_M.h") == 0 + || strcmp (filename, "uniwidth/width2.h") == 0); fprintf (stream, "\n"); t.p = 4; /* or: 5 */ @@ -6420,7 +6422,7 @@ output_nonspacing_property (const char *filename, const char *version) fprintf (stream, "/* Copyright (C) 2000-2022 Free Software Foundation, Inc.\n"); fprintf (stream, "\n"); - output_library_license (stream, false); + output_library_license (stream, true); fprintf (stream, "\n"); next_ind = 0; diff --git a/lib/uniwidth/width0.h b/lib/uniwidth/width0.h index eda0a1d3cd..7457f5a00b 100644 --- a/lib/uniwidth/width0.h +++ b/lib/uniwidth/width0.h @@ -4,26 +4,18 @@ /* Copyright (C) 2000-2022 Free Software Foundation, Inc. - This file is free software. - It is dual-licensed under "the GNU LGPLv3+ or the GNU GPLv2+". - You can redistribute it and/or modify it under either - - the terms of the GNU Lesser General Public License as published - by the Free Software Foundation, either version 3, or (at your - option) any later version, or - - 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, or - - the same dual license "the GNU LGPLv3+ or the GNU GPLv2+". + 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. 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 and the GNU General Public License - for more details. + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. - You should have received a copy of the GNU Lesser General Public - License and of the GNU General Public License along with this - program. If not, see . */ + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . */ static const unsigned char nonspacing_table_data[47*64] = { /* 0x0000-0x01ff */ diff --git a/lib/uniwidth/width2.h b/lib/uniwidth/width2.h index 25364d3b3d..cc975aa3d0 100644 --- a/lib/uniwidth/width2.h +++ b/lib/uniwidth/width2.h @@ -4,26 +4,18 @@ /* Copyright (C) 2000-2022 Free Software Foundation, Inc. - This file is free software. - It is dual-licensed under "the GNU LGPLv3+ or the GNU GPLv2+". - You can redistribute it and/or modify it under either - - the terms of the GNU Lesser General Public License as published - by the Free Software Foundation, either version 3, or (at your - option) any later version, or - - 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, or - - the same dual license "the GNU LGPLv3+ or the GNU GPLv2+". + 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. 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 and the GNU General Public License - for more details. + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. - You should have received a copy of the GNU Lesser General Public - License and of the GNU General Public License along with this - program. If not, see . */ + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . */ #define header_0 16 #define header_2 9