From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1686 invoked by alias); 2 Mar 2020 14:05:12 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 1678 invoked by uid 89); 2 Mar 2020 14:05:12 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy= X-HELO: us-smtp-1.mimecast.com Received: from us-smtp-delivery-1.mimecast.com (HELO us-smtp-1.mimecast.com) (205.139.110.120) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 02 Mar 2020 14:05:11 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1583157909; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=u5eiYwgqBef7J90d+40+swoZblXKOZDyR1C80weRzYg=; b=KoM7Wf+esq+4FmsdEJhjO9txS1E8kmPMz4rY7SkFYR5+ivy3esE1nl9G8MKqtq9TjmQBaP weVl2fVpDHvUoX1l7ieP9RBjAyie0WPH8KsXdw/q3tdvOJ706a0zFlWUqyFSfUc+V1LaVo e2HEDkL0Vl4Lgw/QIFkFu3c0u7vF/dY= Received: from mail-ed1-f71.google.com (mail-ed1-f71.google.com [209.85.208.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-32-v2M2H4usNz2Kx_qe_iBWsw-1; Mon, 02 Mar 2020 09:04:56 -0500 Received: by mail-ed1-f71.google.com with SMTP id m21so7851394edp.14 for ; Mon, 02 Mar 2020 06:04:55 -0800 (PST) Return-Path: Received: from ?IPv6:2001:8a0:f909:7b00:21e8:4cd6:8ec1:f387? ([2001:8a0:f909:7b00:21e8:4cd6:8ec1:f387]) by smtp.gmail.com with ESMTPSA id q20sm90072eds.22.2020.03.02.06.04.53 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 02 Mar 2020 06:04:53 -0800 (PST) Subject: Re: [PATCH] gdbserver: Add .dir-locals.el file To: Andrew Burgess , "Aktemur, Tankut Baris" References: <20200302095303.4474-1-andrew.burgess@embecosm.com> <20200302120208.GP3317@embecosm.com> Cc: "gdb-patches@sourceware.org" From: Pedro Alves Message-ID: Date: Mon, 02 Mar 2020 14:05:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <20200302120208.GP3317@embecosm.com> X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-SW-Source: 2020-03/txt/msg00023.txt 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