aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2021-05-25 11:11:02 +0200
committerJakub Jelinek <jakub@redhat.com>2021-05-25 11:12:03 +0200
commitc9a089cad157231089c20402f5b762db897e5c0f (patch)
tree01bce4b30444d76e81632696f55f0818beb35027
parent316bdb2e8970a461f2ae1a7183262d18a72adab3 (diff)
downloadgcc-c9a089cad157231089c20402f5b762db897e5c0f.zip
gcc-c9a089cad157231089c20402f5b762db897e5c0f.tar.gz
gcc-c9a089cad157231089c20402f5b762db897e5c0f.tar.bz2
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 <jakub@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.
-rw-r--r--c++tools/Makefile.in2
-rw-r--r--c++tools/configure.ac2
-rw-r--r--c++tools/resolver.cc2
-rw-r--r--c++tools/resolver.h2
-rw-r--r--c++tools/server.cc4
-rwxr-xr-xcontrib/update-copyright.py2
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 <nathan@acm.org> 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 <nathan@acm.org> 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 <nathan@acm.org> 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 <nathan@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"
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',