update copyright year in libstdcc++ manual

Message ID 66b92202-4a5c-aad3-2b73-2028411ecf82@jguk.org
State Accepted
Headers
Series update copyright year in libstdcc++ manual |

Checks

Context Check Description
snail/gcc-patch-check success Github commit url

Commit Message

Jonny Grant Dec. 30, 2022, 10:30 a.m. UTC
  2022-12-30  Jonathan Grant <jg@jguk.org>
	* libstdc++-v3/doc/xml/faq.xml: update copyright year in libstdcc++ manual


From 60789c24fa54301135dff1c3d0b1514d77b90a82 Mon Sep 17 00:00:00 2001
From: Jonathan Grant <jg@jguk.org>
Date: Fri, 30 Dec 2022 10:28:34 +0000
Subject: [PATCH] update copyright year date

---
 libstdc++-v3/doc/xml/faq.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Xi Ruoyao March 4, 2023, 1:29 p.m. UTC | #1
Wrong subject: the library is libstdc++, not "cc++".

On Fri, 2022-12-30 at 10:30 +0000, Jonny Grant wrote:
> 2022-12-30  Jonathan Grant <jg@jguk.org>
>         * libstdc++-v3/doc/xml/faq.xml: update copyright year in
> libstdcc++ manual

Wrong ChangeLog format, see
https://gcc.gnu.org/codingconventions.html#ChangeLogs

> From 60789c24fa54301135dff1c3d0b1514d77b90a82 Mon Sep 17 00:00:00 2001
> From: Jonathan Grant <jg@jguk.org>
> Date: Fri, 30 Dec 2022 10:28:34 +0000
> Subject: [PATCH] update copyright year date

Don't leave these lines here or they'll be the junks in the commit
message.  (You may leave the "From: Jonathan Grant <jg@jguk.org>" line,
especially if you are sending the patch from a different email address,
but then it should be the first line of the email body.)

> 
> ---
>  libstdc++-v3/doc/xml/faq.xml | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/libstdc++-v3/doc/xml/faq.xml b/libstdc++-
> v3/doc/xml/faq.xml
> index 9ae4966ecea..42354f87af7 100644
> --- a/libstdc++-v3/doc/xml/faq.xml
> +++ b/libstdc++-v3/doc/xml/faq.xml
> @@ -7,7 +7,7 @@
>  
>    <copyright>
>      <year>
> -      2008-2018
> +      2008-2023
>      </year>
>      <holder>
>        <link xmlns:xlink="http://www.w3.org/1999/xlink"
> xlink:href="https://www.fsf.org">FSF</link>
  

Patch

diff --git a/libstdc++-v3/doc/xml/faq.xml b/libstdc++-v3/doc/xml/faq.xml
index 9ae4966ecea..42354f87af7 100644
--- a/libstdc++-v3/doc/xml/faq.xml
+++ b/libstdc++-v3/doc/xml/faq.xml
@@ -7,7 +7,7 @@ 
 
   <copyright>
     <year>
-      2008-2018
+      2008-2023
     </year>
     <holder>
       <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://www.fsf.org">FSF</link>