On Tue, 25 May 2021, Jakub Jelinek wrote: > Hi! > > 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. > > Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk?
OK. > 2021-05-25 Jakub Jelinek <ja...@redhat.com> > > 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. > > --- contrib/update-copyright.py > +++ 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', > --- c++tools/Makefile.in > +++ 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 > --- c++tools/configure.ac > +++ 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 <nat...@acm.org> while at FaceBook > # > # This file is free software; you can redistribute it and/or modify it > --- c++tools/resolver.cc > +++ 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 <nat...@acm.org> while at FaceBook > > This file is part of GCC. > --- c++tools/resolver.h > +++ 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 <nat...@acm.org> while at FaceBook > > This file is part of GCC. > --- c++tools/server.cc > +++ 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 <nat...@acm.org> 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" > > Jakub > > -- Richard Biener <rguent...@suse.de> SUSE Software Solutions Germany GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany; GF: Felix Imendörffer; HRB 36809 (AG Nuernberg)