]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
libio: Update license on test case
authorSiddhesh Poyarekar <siddhesh@sourceware.org>
Tue, 30 Mar 2021 13:53:09 +0000 (19:23 +0530)
committerSiddhesh Poyarekar <siddhesh@sourceware.org>
Tue, 30 Mar 2021 13:53:09 +0000 (19:23 +0530)
About a decade ago, I accidentally wrote the GPLv3 license text on the
test case when the rest of glibc source is LGPL v2.1 or later.  As
original author of the test (and there are no other legally
significant changes to the test) I propose to update the license text
to be consistent with the project.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
libio/tst-fwrite-error.c

index ad1e30118bb2fe3062dced18fc4b87429b36504d..15c4385dc8b8eb1018ee28f092951c83e5cffde3 100644 (file)
@@ -1,18 +1,19 @@
 /* Test of fwrite() function, adapted from gnulib-tests in grep.
    Copyright (C) 2011-2021 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 3, or (at your option)
-   any later version.
+   The GNU C Library 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 program is distributed in the hope that it will be useful,
+   The GNU C Library 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.
+   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 General Public License
-   along with this program; if not, see <https://www.gnu.org/licenses/>.  */
+   You should have received a copy of the GNU Lesser General Public
+   License along with the GNU C Library; if not, see
+   <https://www.gnu.org/licenses/>.  */
 
 #include <errno.h>
 #include <fcntl.h>