debug mode maintenance patch

Jonathan Wakely jwakely@redhat.com
Tue May 26 09:29:00 GMT 2015


On 26/05/15 09:45 +0100, Pedro Alves wrote:
>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.

Glad to hear I've been doing it right!

François, therefore please ensure you keep the right copyright years
when moving code to new files (I'm still not convinced a new file is
useful here though).



More information about the Gcc-patches mailing list