From c9a089cad157231089c20402f5b762db897e5c0f Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Tue, 25 May 2021 11:11:02 +0200 Subject: [PATCH] Update copyright years in c++tools While looking at PR100731, I have noticed the copyright years are 2020-ish only. This patch adds it to update-copyright.py and updates those. 2021-05-25 Jakub Jelinek contrib/ * update-copyright.py: Add c++tools. c++tools/ * Makefile.in: Update copyright year. * configure.ac: Likewise. * resolver.cc: Likewise. * resolver.h: Likewise. * server.cc: Likewise. (print_version): Update copyright notice date. --- c++tools/Makefile.in | 2 +- c++tools/configure.ac | 2 +- c++tools/resolver.cc | 2 +- c++tools/resolver.h | 2 +- c++tools/server.cc | 4 ++-- contrib/update-copyright.py | 2 ++ 6 files changed, 8 insertions(+), 6 deletions(-) diff --git a/c++tools/Makefile.in b/c++tools/Makefile.in index afc87d0..83a6ae5 100644 --- a/c++tools/Makefile.in +++ b/c++tools/Makefile.in @@ -1,5 +1,5 @@ # Makefile for c++tools -# Copyright 2020 Free Software Foundation, Inc. +# Copyright (C) 2020-2021 Free Software Foundation, Inc. # # This file is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/c++tools/configure.ac b/c++tools/configure.ac index 5771f2a..1b08f75 100644 --- a/c++tools/configure.ac +++ b/c++tools/configure.ac @@ -1,5 +1,5 @@ # Configure script for c++tools -# Copyright (C) 2020 Free Software Foundation, Inc. +# Copyright (C) 2020-2021 Free Software Foundation, Inc. # Written by Nathan Sidwell while at FaceBook # # This file is free software; you can redistribute it and/or modify it diff --git a/c++tools/resolver.cc b/c++tools/resolver.cc index ef08de5..edd4624 100644 --- a/c++tools/resolver.cc +++ b/c++tools/resolver.cc @@ -1,5 +1,5 @@ /* C++ modules. Experimental! -*- c++ -*- - Copyright (C) 2017-2020 Free Software Foundation, Inc. + Copyright (C) 2017-2021 Free Software Foundation, Inc. Written by Nathan Sidwell while at FaceBook This file is part of GCC. diff --git a/c++tools/resolver.h b/c++tools/resolver.h index a9547bf..b2f4381 100644 --- a/c++tools/resolver.h +++ b/c++tools/resolver.h @@ -1,5 +1,5 @@ /* C++ modules. Experimental! -*- c++ -*- - Copyright (C) 2017-2020 Free Software Foundation, Inc. + Copyright (C) 2017-2021 Free Software Foundation, Inc. Written by Nathan Sidwell while at FaceBook This file is part of GCC. diff --git a/c++tools/server.cc b/c++tools/server.cc index 21c7d46..709955e 100644 --- a/c++tools/server.cc +++ b/c++tools/server.cc @@ -1,5 +1,5 @@ /* C++ modules. Experimental! - Copyright (C) 2018-2020 Free Software Foundation, Inc. + Copyright (C) 2018-2021 Free Software Foundation, Inc. Written by Nathan Sidwell while at FaceBook This file is part of GCC. @@ -290,7 +290,7 @@ static void ATTRIBUTE_NORETURN print_version (void) { fnotice (stdout, "%s %s%s\n", progname, pkgversion_string, version_string); - fprintf (stdout, "Copyright %s 2018-2020 Free Software Foundation, Inc.\n", + fprintf (stdout, "Copyright %s 2018-2021 Free Software Foundation, Inc.\n", ("(C)")); fnotice (stdout, ("This is free software; see the source for copying conditions.\n" diff --git a/contrib/update-copyright.py b/contrib/update-copyright.py index 83c761a..2b2bb11 100755 --- a/contrib/update-copyright.py +++ b/contrib/update-copyright.py @@ -735,6 +735,7 @@ class GCCCmdLine (CmdLine): self.add_dir ('.', TopLevelFilter()) # boehm-gc is imported from upstream. + self.add_dir ('c++tools') self.add_dir ('config', ConfigFilter()) # contrib isn't really part of GCC. self.add_dir ('fixincludes') @@ -770,6 +771,7 @@ class GCCCmdLine (CmdLine): # zlib is imported from upstream. self.default_dirs = [ + 'c++tools', 'gcc', 'include', 'libada', -- 2.7.4