This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] gdbserver: Add .dir-locals.el file
On 3/2/20 12:02 PM, Andrew Burgess wrote:
>>> +;; Copyright (C) 2012-2020 Free Software Foundation, Inc.
>>
>> ... and I think they year needs to be just '2020'.
>
> As per this rule:
>
> https://sourceware.org/gdb/wiki/ContributionChecklist#Copyright_Header
>
> When copying a file the start date of the original file should be
> maintained I think.
Yes, otherwise we could put just "2020" everywhere using this:
$ cp org.c new.c
# I have a new file, so let me update copyright to 2020:
$ sed s/20*-2020/2020/g -i new.c
# Rename the new file back to the old name:
$ mv new.c org.c
Copyright covers the code, the file's content, not the file name.
Pedro Alves