diff mbox series

[1/2] nptl: Add copyright notice tst-sem11 and tst-sem12 tests

Message ID alpine.DEB.2.21.2407111347080.38148@angie.orcam.me.uk
State New
Headers show
Series nptl: Fix issues with tst-sem11 and tst-sem12 tests | expand

Commit Message

Maciej W. Rozycki July 11, 2024, 1:17 p.m. UTC
From: Maciej W. Rozycki <macro@redhat.com>

Add a copyright notice to the tst-sem11 and tst-sem12 tests, observing 
that they have been originally contributed back in 2007, with commit 
2af4e3e5668f ("Test of semaphores.").
---
 nptl/tst-sem11.c |   18 ++++++++++++++++++
 nptl/tst-sem12.c |   18 ++++++++++++++++++
 2 files changed, 36 insertions(+)

glibc-tst-sem11-copyright.diff

Comments

Adhemerval Zanella Netto July 11, 2024, 1:51 p.m. UTC | #1
On 11/07/24 10:17, Maciej W. Rozycki wrote:
> From: Maciej W. Rozycki <macro@redhat.com>
> 
> Add a copyright notice to the tst-sem11 and tst-sem12 tests, observing 
> that they have been originally contributed back in 2007, with commit 
> 2af4e3e5668f ("Test of semaphores.").

LGTM, thanks.

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>

> ---
>  nptl/tst-sem11.c |   18 ++++++++++++++++++
>  nptl/tst-sem12.c |   18 ++++++++++++++++++
>  2 files changed, 36 insertions(+)
> 
> glibc-tst-sem11-copyright.diff
> Index: glibc/nptl/tst-sem11.c
> ===================================================================
> --- glibc.orig/nptl/tst-sem11.c
> +++ glibc/nptl/tst-sem11.c
> @@ -1,3 +1,21 @@
> +/* Test of semaphores.
> +   Copyright (C) 2007-2024 Free Software Foundation, Inc.
> +   This file is part of the GNU C Library.
> +
> +   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.
> +
> +   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
> +   Lesser General Public License for more details.
> +
> +   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 <semaphore.h>
>  #include <stdio.h>
>  #include <unistd.h>
> Index: glibc/nptl/tst-sem12.c
> ===================================================================
> --- glibc.orig/nptl/tst-sem12.c
> +++ glibc/nptl/tst-sem12.c
> @@ -1,3 +1,21 @@
> +/* Test of semaphores.
> +   Copyright (C) 2007-2024 Free Software Foundation, Inc.
> +   This file is part of the GNU C Library.
> +
> +   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.
> +
> +   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
> +   Lesser General Public License for more details.
> +
> +   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 <time.h>
>  #include <sys/time.h>
>
diff mbox series

Patch

Index: glibc/nptl/tst-sem11.c
===================================================================
--- glibc.orig/nptl/tst-sem11.c
+++ glibc/nptl/tst-sem11.c
@@ -1,3 +1,21 @@ 
+/* Test of semaphores.
+   Copyright (C) 2007-2024 Free Software Foundation, Inc.
+   This file is part of the GNU C Library.
+
+   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.
+
+   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
+   Lesser General Public License for more details.
+
+   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 <semaphore.h>
 #include <stdio.h>
 #include <unistd.h>
Index: glibc/nptl/tst-sem12.c
===================================================================
--- glibc.orig/nptl/tst-sem12.c
+++ glibc/nptl/tst-sem12.c
@@ -1,3 +1,21 @@ 
+/* Test of semaphores.
+   Copyright (C) 2007-2024 Free Software Foundation, Inc.
+   This file is part of the GNU C Library.
+
+   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.
+
+   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
+   Lesser General Public License for more details.
+
+   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 <time.h>
 #include <sys/time.h>