From patchwork Sun Jan 6 12:44:05 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jakub Jelinek X-Patchwork-Id: 209751 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id 3F8972C0084 for ; Sun, 6 Jan 2013 23:44:24 +1100 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1358081065; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Received: Received:Received:Date:From:To:Subject:Message-ID:Reply-To: References:MIME-Version:Content-Type:Content-Disposition: In-Reply-To:User-Agent:Mailing-List:Precedence:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:Sender: Delivered-To; bh=Mj8lVfKcyLIgaIuwinflQlckkTc=; b=ctMHFWDVoLYdUXd zE0NNeVq/i4w/TLYbBeX07vKx1m0lxFz7a8VFuD8pnNyJdDg4RY17A1YTq4VS5Lg DFn93fw9Mi+kkwnycn82UuEbhFO+wEBZ7lVdosDFZR+AG/Q5YebHa6OVUOvKmFyy AJFfGKyCn1yMUXlDwzoCK/B8suYA= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:Received:Received:Received:Date:From:To:Subject:Message-ID:Reply-To:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent:X-IsSubscribed:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=IDV84zidqQpSkmq6aLeaSTS84SP7IDc+3F1+cm+DpiqXUBb63v6rRa8b5f1Xfo mZylSoEdUrsdhtcPyMU6naXZerwGYAQswUL2AUJOnT7nR17NAbfcuQS6WumKX7EU m7N/tqYbt8zWDiwazXb7RIsBUumSKv/d1Awrr9/YjzCzU=; Received: (qmail 26164 invoked by alias); 6 Jan 2013 12:44:18 -0000 Received: (qmail 26156 invoked by uid 22791); 6 Jan 2013 12:44:18 -0000 X-SWARE-Spam-Status: No, hits=-6.4 required=5.0 tests=AWL, BAYES_00, KHOP_RCVD_UNTRUST, RCVD_IN_DNSWL_HI, RCVD_IN_HOSTKARMA_W, RP_MATCHES_RCVD, SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 06 Jan 2013 12:44:12 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r06CiA0g027886 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 6 Jan 2013 07:44:11 -0500 Received: from zalov.redhat.com (vpn1-6-187.ams2.redhat.com [10.36.6.187]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r06Ci8X2000751 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 6 Jan 2013 07:44:09 -0500 Received: from zalov.cz (localhost [127.0.0.1]) by zalov.redhat.com (8.14.5/8.14.5) with ESMTP id r06Ci7Sr031371; Sun, 6 Jan 2013 13:44:07 +0100 Received: (from jakub@localhost) by zalov.cz (8.14.5/8.14.5/Submit) id r06Ci6Bp031370; Sun, 6 Jan 2013 13:44:06 +0100 Date: Sun, 6 Jan 2013 13:44:05 +0100 From: Jakub Jelinek To: Andrew Pinski , gcc-patches@gcc.gnu.org, rdsandiford@googlemail.com, Richard Biener , "Joseph S. Myers" Subject: Re: [committed] 2011 and 2012 Copyright year updates Message-ID: <20130106124405.GW7269@tucnak.redhat.com> Reply-To: Jakub Jelinek References: <20130104125437.GN7269@tucnak.redhat.com> <20130104164845.GP7269@tucnak.redhat.com> <87ip7a5x1v.fsf@talisman.default> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <87ip7a5x1v.fsf@talisman.default> User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org On Sun, Jan 06, 2013 at 12:13:32PM +0000, Richard Sandiford wrote: > I never remember to update the copyright years, so I thought I'd have a go. > And you were right of course. It ended up being a huge time sink. > > Anyway, here's my attempt a script to convert to ranges and, if enabled, > to include the current year. The script only updates FSF copyright notices > and leaves others alone. I've tried my best to make sure that licences > and imported FSF sources aren't touched, but I could have missed some cases. Looks reasonable to me, though I'd like to hear richi's and Joseph's opinion too. I've noticed a minor nit: files, e.g. I'd leave ChangeLog* and various README* files to keep their finish date as is, say ChangeLog.2003 can be just Copyright (c) 2003, doesn't need to be 2003-2013. Perhaps just automatically add -2013 to gcc (except gcc/testsuite) *.[ch], *.md, *.def, *.opt files or so, plus gcc/testsuite *.exp files? E.g. testsuite *.c/*.C files that are Copyright 2004 don't need to be -2013? Also, just a remainder, any Copyright line change in libstdc++-v3/include might potentially require adjustments to libstdc++-v3/testsuite/, because various tests have header line numbers hardcoded in them. Jakub --- gcc.orig/gcc/testsuite/gcc.misc-tests/linkage.exp +++ gcc/gcc/testsuite/gcc.misc-tests/linkage.exp @@ -1,5 +1,4 @@ -# Copyright (C) 1988, 90-96, 1997, 2000, 2001, 2002, 2007, 2008, 2010, -# 2011, -# 2012 Free Software Foundation, Inc. +# Copyright (C) 90-2012 Free Software Foundation, Inc. That should have been presumably 1988-2012, haven't looked at other similar cases. As for updating to -2013, I think it isn't appropriate for all