This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: Update copyright year for gengtype
On Wed, 12 Apr 2006, Steven Bosscher wrote:
>> This patch updates the year of copyright of code generated by
>> gengtype. I assume, given that 2004 is the only year listed, that
>> this should be updated to the current year.
This is correct. When it comes to output (such as gmake -v), the
current year is sufficient.
> All years must be listed, so I think it should be 2004, 2005, 2006.
>
> See http://gcc.gnu.org/ml/gcc/2001-01/msg00018.html.
This holds for source files; for a program identifying itself, the
last year relevant changes have been made is sufficient.
For details, see
http://www.gnu.org/prep/standards/html_node/Command_002dLine-Interfaces.html#Command_002dLine-Interfaces
specifically "This copyright notice only needs to mention the most recent
year in which changes were made?there's no need to list the years for
previous versions' changes."
Hope this helps,
Gerald