This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: debug mode maintenance patch
- From: Pedro Alves <alves dot ped at gmail dot com>
- To: Jonathan Wakely <jwakely at redhat dot com>, François Dumont <frs dot dumont at gmail dot com>
- Cc: "libstdc++ at gcc dot gnu dot org" <libstdc++ at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 26 May 2015 09:45:36 +0100
- Subject: Re: debug mode maintenance patch
- Authentication-results: sourceware.org; auth=none
- References: <55632418 dot 6000007 at gmail dot com> <20150525184057 dot GA3056 at redhat dot com>
On 05/25/2015 07:41 PM, Jonathan Wakely wrote:
>> Index: include/debug/functions.tcc
>> ===================================================================
>> --- include/debug/functions.tcc (revision 0)
>> +++ include/debug/functions.tcc (working copy)
>> @@ -0,0 +1,159 @@
>> +// Debugging support implementation -*- C++ -*-
>> +
>> +// Copyright (C) 2015 Free Software Foundation, Inc.
>
> It worries me when we move existing code to new headers and only give
> it the current year as the copyright date. The copyright applies to
> the code, which is older than 2015, not to the file itself.
>
> I think I've asked about this before and been told that only adding
> the current year is correct, but that seems wrong to me. I'll try to
> confirm that.
You should retain the old copyright years in the new file.
Here's FSF's response when inquired about that a while ago:
https://sourceware.org/ml/gdb-patches/2012-04/msg00640.html
Thanks,
Pedro Alves