From b36f20046992ad62e8e1381a98c7159072951757 Mon Sep 17 00:00:00 2001 From: Matthias Klose Date: Thu, 6 May 2004 22:35:27 +0000 Subject: [PATCH] iterator.h: Add GPL copyright info, with exception clause. 2004-05-07 Matthias Klose * include/backward/iterator.h: Add GPL copyright info, with exception clause. * config/cpu/hppa/atomicity.h: Likewise. * config/io/c_io_libio_codecvt.c: Likewise. * include/bits/boost_concept_check.h: Likewise. * include/backward/iterator.h: Likewise. * libsupc++/tinfo.h: Likewise. * po/string_literals.cc: Likewise. * src/wstring-inst.cc: Likewise. * libio/_G_config.h: Likewise. * libio/iolibio.h: Likewise. From-SVN: r81587 --- libstdc++-v3/ChangeLog | 14 ++++++++ libstdc++-v3/config/cpu/hppa/atomicity.h | 11 +++++- libstdc++-v3/config/io/c_io_libio_codecvt.c | 8 +++++ libstdc++-v3/include/backward/iterator.h | 29 ++++++++++++++++ .../include/bits/boost_concept_check.h | 26 ++++++++++++++ libstdc++-v3/libio/_G_config.h | 25 ++++++++++++++ libstdc++-v3/libio/iolibio.h | 25 ++++++++++++++ libstdc++-v3/libsupc++/tinfo.h | 28 ++++++++++++++- libstdc++-v3/po/string_literals.cc | 9 +++++ libstdc++-v3/src/wstring-inst.cc | 34 +++++++++++++++++++ 10 files changed, 207 insertions(+), 2 deletions(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 2bb5a2a2d919..0a3d66e3dec4 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,17 @@ +2004-05-07 Matthias Klose + + * include/backward/iterator.h: Add GPL copyright info, + with exception clause. + * config/cpu/hppa/atomicity.h: Likewise. + * config/io/c_io_libio_codecvt.c: Likewise. + * include/bits/boost_concept_check.h: Likewise. + * include/backward/iterator.h: Likewise. + * libsupc++/tinfo.h: Likewise. + * po/string_literals.cc: Likewise. + * src/wstring-inst.cc: Likewise. + * libio/_G_config.h: Likewise. + * libio/iolibio.h: Likewise. + 2004-02-22 Paolo Carlini PR libstdc++/14220 diff --git a/libstdc++-v3/config/cpu/hppa/atomicity.h b/libstdc++-v3/config/cpu/hppa/atomicity.h index d99ac34d0b3e..f7f16093b458 100644 --- a/libstdc++-v3/config/cpu/hppa/atomicity.h +++ b/libstdc++-v3/config/cpu/hppa/atomicity.h @@ -1,5 +1,5 @@ /* Low-level functions for atomic operations. PA-RISC version. -*- C++ -*- - Copyright 2002 Free Software Foundation, Inc. + Copyright 2002, 2004 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 @@ -17,6 +17,15 @@ write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +// As a special exception, you may use this file as part of a free software +// library without restriction. Specifically, if other files instantiate +// templates or use macros or inline functions from this file, or you compile +// this file and link it with other files to produce an executable, this +// file does not by itself cause the resulting executable to be covered by +// the GNU General Public License. This exception does not however +// invalidate any other reasons why the executable file might be covered by +// the GNU General Public License. + #ifndef _BITS_ATOMICITY_H #define _BITS_ATOMICITY_H 1 diff --git a/libstdc++-v3/config/io/c_io_libio_codecvt.c b/libstdc++-v3/config/io/c_io_libio_codecvt.c index 38d8b55e0c2a..5c74101263a6 100644 --- a/libstdc++-v3/config/io/c_io_libio_codecvt.c +++ b/libstdc++-v3/config/io/c_io_libio_codecvt.c @@ -23,6 +23,14 @@ other reasons why the executable file might be covered by the GNU General Public License. */ +// As a special exception, you may use this file as part of a free software +// library without restriction. Specifically, if other files instantiate +// templates or use macros or inline functions from this file, or you compile +// this file and link it with other files to produce an executable, this +// file does not by itself cause the resulting executable to be covered by +// the GNU General Public License. This exception does not however +// invalidate any other reasons why the executable file might be covered by +// the GNU General Public License. /* Slightly modified from glibc/libio/iofwide.c */ #include diff --git a/libstdc++-v3/include/backward/iterator.h b/libstdc++-v3/include/backward/iterator.h index 179f457d324d..233f17e2f2df 100644 --- a/libstdc++-v3/include/backward/iterator.h +++ b/libstdc++-v3/include/backward/iterator.h @@ -1,3 +1,32 @@ +// Backward-compat support -*- C++ -*- + +// Copyright (C) 2001, 2004 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library 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 2, or (at your option) +// any later version. + +// This 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. + +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING. If not, write to the Free +// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, +// USA. + +// As a special exception, you may use this file as part of a free software +// library without restriction. Specifically, if other files instantiate +// templates or use macros or inline functions from this file, or you compile +// this file and link it with other files to produce an executable, this +// file does not by itself cause the resulting executable to be covered by +// the GNU General Public License. This exception does not however +// invalidate any other reasons why the executable file might be covered by +// the GNU General Public License. + /* * * Copyright (c) 1994 diff --git a/libstdc++-v3/include/bits/boost_concept_check.h b/libstdc++-v3/include/bits/boost_concept_check.h index d91c2e88e3c9..ff81f43cf049 100644 --- a/libstdc++-v3/include/bits/boost_concept_check.h +++ b/libstdc++-v3/include/bits/boost_concept_check.h @@ -1,4 +1,30 @@ +// Copyright (C) 2004 Free Software Foundation, Inc. // +// This file is part of the GNU ISO C++ Library. This library 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 2, or (at your option) +// any later version. + +// This 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. + +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING. If not, write to the Free +// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, +// USA. + +// As a special exception, you may use this file as part of a free software +// library without restriction. Specifically, if other files instantiate +// templates or use macros or inline functions from this file, or you compile +// this file and link it with other files to produce an executable, this +// file does not by itself cause the resulting executable to be covered by +// the GNU General Public License. This exception does not however +// invalidate any other reasons why the executable file might be covered by +// the GNU General Public License. + // (C) Copyright Jeremy Siek 2000. Permission to copy, use, modify, // sell and distribute this software is granted provided this // copyright notice appears in all copies. This software is provided diff --git a/libstdc++-v3/libio/_G_config.h b/libstdc++-v3/libio/_G_config.h index d6738c2bf7be..c548484c82aa 100644 --- a/libstdc++-v3/libio/_G_config.h +++ b/libstdc++-v3/libio/_G_config.h @@ -1,3 +1,28 @@ +/* Copyright (C) 1999, 2000, 2004 Free Software Foundation, Inc. + This file is part of the GNU IO Library. + + This library 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 2, or (at + your option) any later version. + + This 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. + + You should have received a copy of the GNU General Public License + along with this library; see the file COPYING. If not, write to + the Free Software Foundation, 59 Temple Place - Suite 330, Boston, + MA 02111-1307, USA. + + As a special exception, if you link this library with files + compiled with a GNU compiler to produce an executable, this does + not cause the resulting executable to be covered by the GNU General + Public License. This exception does not however invalidate any + other reasons why the executable file might be covered by the GNU + General Public License. */ + /* This file is needed by libio to define various configuration parameters. These are always the same in the GNU C library. */ diff --git a/libstdc++-v3/libio/iolibio.h b/libstdc++-v3/libio/iolibio.h index 61be4b73b94d..31eb1a2b3443 100644 --- a/libstdc++-v3/libio/iolibio.h +++ b/libstdc++-v3/libio/iolibio.h @@ -1,3 +1,28 @@ +/* Copyright (C) 1999, 2000, 2004 Free Software Foundation, Inc. + This file is part of the GNU IO Library. + + This library 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 2, or (at + your option) any later version. + + This 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. + + You should have received a copy of the GNU General Public License + along with this library; see the file COPYING. If not, write to + the Free Software Foundation, 59 Temple Place - Suite 330, Boston, + MA 02111-1307, USA. + + As a special exception, if you link this library with files + compiled with a GNU compiler to produce an executable, this does + not cause the resulting executable to be covered by the GNU General + Public License. This exception does not however invalidate any + other reasons why the executable file might be covered by the GNU + General Public License. */ + #include "libio.h" /* These emulate stdio functionality, but with a different name diff --git a/libstdc++-v3/libsupc++/tinfo.h b/libstdc++-v3/libsupc++/tinfo.h index b7191900d00c..2c55e03a6d98 100644 --- a/libstdc++-v3/libsupc++/tinfo.h +++ b/libstdc++-v3/libsupc++/tinfo.h @@ -1,7 +1,33 @@ // RTTI support internals for -*- C++ -*- -// Copyright (C) 1994, 1995, 1996, 1998, 1999, 2000, 2001 +// Copyright (C) 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2004 // Free Software Foundation +// This file is part of GCC. +// +// GCC 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 2, or (at your option) +// any later version. + +// GCC 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. + +// You should have received a copy of the GNU General Public License +// along with GCC; see the file COPYING. If not, write to +// the Free Software Foundation, 59 Temple Place - Suite 330, +// Boston, MA 02111-1307, USA. + +// As a special exception, you may use this file as part of a free software +// library without restriction. Specifically, if other files instantiate +// templates or use macros or inline functions from this file, or you compile +// this file and link it with other files to produce an executable, this +// file does not by itself cause the resulting executable to be covered by +// the GNU General Public License. This exception does not however +// invalidate any other reasons why the executable file might be covered by +// the GNU General Public License. + #include "typeinfo" #include diff --git a/libstdc++-v3/po/string_literals.cc b/libstdc++-v3/po/string_literals.cc index 776cf39068a0..262e708a4dcc 100644 --- a/libstdc++-v3/po/string_literals.cc +++ b/libstdc++-v3/po/string_literals.cc @@ -16,6 +16,15 @@ // Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, // USA. +// As a special exception, you may use this file as part of a free software +// library without restriction. Specifically, if other files instantiate +// templates or use macros or inline functions from this file, or you compile +// this file and link it with other files to produce an executable, this +// file does not by itself cause the resulting executable to be covered by +// the GNU General Public License. This exception does not however +// invalidate any other reasons why the executable file might be covered by +// the GNU General Public License. + #include #define gettext_noop(Str) Str diff --git a/libstdc++-v3/src/wstring-inst.cc b/libstdc++-v3/src/wstring-inst.cc index 0200fd42d675..ee07023fef12 100644 --- a/libstdc++-v3/src/wstring-inst.cc +++ b/libstdc++-v3/src/wstring-inst.cc @@ -1,3 +1,37 @@ +// wide string support -*- C++ -*- + +// Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 +// Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library 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 2, or (at your option) +// any later version. + +// This 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. + +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING. If not, write to the Free +// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, +// USA. + +// As a special exception, you may use this file as part of a free software +// library without restriction. Specifically, if other files instantiate +// templates or use macros or inline functions from this file, or you compile +// this file and link it with other files to produce an executable, this +// file does not by itself cause the resulting executable to be covered by +// the GNU General Public License. This exception does not however +// invalidate any other reasons why the executable file might be covered by +// the GNU General Public License. + +// +// ISO C++ 14882: 21 Strings library +// + #include #ifdef _GLIBCPP_USE_WCHAR_T -- 2.47.2