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 |
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> >
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>
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