public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] libio: Update license on test case
@ 2021-03-30 13:23 Siddhesh Poyarekar
  2021-03-30 13:51 ` Carlos O'Donell
  0 siblings, 1 reply; 2+ messages in thread
From: Siddhesh Poyarekar @ 2021-03-30 13:23 UTC (permalink / raw)
  To: libc-alpha

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.
---
 libio/tst-fwrite-error.c | 19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)

diff --git a/libio/tst-fwrite-error.c b/libio/tst-fwrite-error.c
index ad1e30118b..15c4385dc8 100644
--- a/libio/tst-fwrite-error.c
+++ b/libio/tst-fwrite-error.c
@@ -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>
-- 
2.29.2


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] libio: Update license on test case
  2021-03-30 13:23 [PATCH] libio: Update license on test case Siddhesh Poyarekar
@ 2021-03-30 13:51 ` Carlos O'Donell
  0 siblings, 0 replies; 2+ messages in thread
From: Carlos O'Donell @ 2021-03-30 13:51 UTC (permalink / raw)
  To: Siddhesh Poyarekar, libc-alpha

On 3/30/21 9:23 AM, Siddhesh Poyarekar wrote:
> 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.

LGTM. You are allowed to do this. Thanks for cleaning things up.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>

> ---
>  libio/tst-fwrite-error.c | 19 ++++++++++---------
>  1 file changed, 10 insertions(+), 9 deletions(-)
> 
> diff --git a/libio/tst-fwrite-error.c b/libio/tst-fwrite-error.c
> index ad1e30118b..15c4385dc8 100644
> --- a/libio/tst-fwrite-error.c
> +++ b/libio/tst-fwrite-error.c
> @@ -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>
> 


-- 
Cheers,
Carlos.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-03-30 13:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-30 13:23 [PATCH] libio: Update license on test case Siddhesh Poyarekar
2021-03-30 13:51 ` Carlos O'Donell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).