[RFA] fix copyright year range in libstdc++ test file (was: "Re: [v3 PATCH] Implement std::string_view and P0254r2, Integrating std::string_view and std::string.")

Jonathan Wakely jwakely@redhat.com
Wed Jan 2 10:44:00 GMT 2019


On 01/01/19 09:45 +0400, Joel Brobecker wrote:
>Hello,
>
>In working on updating the copyright year notices for the GDB files,
>I noticed something very minor regarding the patch which added the
>file below (the same file was copied in gdb's testsuite); it looks
>like the year range for one of the files is truncated:
>
>    | diff --git a/libstdc++-v3/testsuite/21_strings/basic_string_view/element_access/char/empty.cc b/libstdc++-v3/testsuite/21_strings/basic_string_view/element_access/char/empty.cc
>    | new file mode 100644
>    | index 0000000..c0f8206
>    | --- /dev/null
>    | +++ b/libstdc++-v3/testsuite/21_strings/basic_string_view/element_access/char/empty.cc
>    | @@ -0,0 +1,40 @@
>    | +// { dg-options "-std=gnu++17" }
>    | +
>    | +// Copyright (C) 3 Free Software Foundation, Inc.
>
>The file was contributed around July 2016, so it should be at least
>2016-2018 now, but, looking at all the other test files around,
>all ranges start with 2013, so I suspect the intention was for
>this file to be the same. This is what the attached patch proposes.
>
>libstdc++-v3/ChangeLog:
>
>	* testsuite/21_strings/basic_string_view/element_access/char/empty.cc:
>        Fix year range in copyright header.
>
>OK for trunk?
>
>One a fix pushed to GCC, I will take care of the GDB side.

That file was copied from an older one in the testsuite (which is why
it has a date of 2013). This fixes the older one.

Committed to trunk.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.txt
Type: text/x-patch
Size: 981 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20190102/466bdbcf/attachment.bin>


More information about the Libstdc++ mailing list