This is the mail archive of the
mailing list for the GCC project.
Re: debug mode maintenance patch
- From: Jonathan Wakely <jwakely at redhat dot com>
- To: Pedro Alves <alves dot ped at gmail dot com>
- Cc: François Dumont <frs dot dumont at gmail dot com>, "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 10:19:05 +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> <556432B0 dot 6050504 at gmail dot com>
On 26/05/15 09:45 +0100, Pedro Alves wrote:
On 05/25/2015 07:41 PM, Jonathan Wakely wrote:
--- 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
You should retain the old copyright years in the new file.
Here's FSF's response when inquired about that a while ago:
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).