debug mode maintenance patch

Pedro Alves alves.ped@gmail.com
Tue May 26 08:59:00 GMT 2015


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



More information about the Gcc-patches mailing list