From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6790 invoked by alias); 3 Jan 2012 10:15:21 -0000 Received: (qmail 6779 invoked by uid 22791); 3 Jan 2012 10:15:20 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 03 Jan 2012 10:15:06 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id CE6282BADB9; Tue, 3 Jan 2012 05:15:05 -0500 (EST) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id t8HiOpQu1UVO; Tue, 3 Jan 2012 05:15:05 -0500 (EST) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 56F072BAD98; Tue, 3 Jan 2012 05:15:05 -0500 (EST) Received: by joel.gnat.com (Postfix, from userid 1000) id 38AF3145615; Tue, 3 Jan 2012 14:14:47 +0400 (RET) Date: Tue, 03 Jan 2012 10:15:00 -0000 From: Joel Brobecker To: Yao Qi Cc: gdb-patches@sourceware.org Subject: Re: RFA: Using year ranges in copyright notices... Message-ID: <20120103101447.GL2730@adacore.com> References: <20120103042431.GI2730@adacore.com> <20120103085234.GK2730@adacore.com> <4F02CEE3.6080909@codesourcery.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="/e2eDi0V/xtL+Mc8" Content-Disposition: inline In-Reply-To: <4F02CEE3.6080909@codesourcery.com> User-Agent: Mutt/1.5.20 (2009-06-14) 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 X-SW-Source: 2012-01/txt/msg00087.txt.bz2 --/e2eDi0V/xtL+Mc8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-length: 254 > > + 1986, 1988-1989, 1991-1993, 1999-2000, 2007-2012 > ^^^^ > ... or, we replace 2012 with 2011. I don't know what you're talking about ;-). New patch attached. Thanks for spotting this. -- Joel --/e2eDi0V/xtL+Mc8 Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="readme.diff" Content-length: 1446 commit c0efce94dbcaa24395a1b2284aaea288c86247dd Author: Joel Brobecker Date: Tue Jan 3 12:41:50 2012 +0400 [README] Add not about copyright and license notices Also explain the use of year ranges in copyright notices. gdb/ChangeLog: * README (Copyright and License Notices): New section. diff --git a/gdb/README b/gdb/README index d79fecc..501bb65 100644 --- a/gdb/README +++ b/gdb/README @@ -638,6 +638,28 @@ testsuite `standalone', without it being part of the GDB source tree. See the DejaGNU documentation for further details. + +Copyright and License Notices +============================= + +Most files maintained by the GDB Project contain a copyright notice +as well as a license notice, usually at the start of the file. The +copyright notice should list all the years during which nontrivial +changes have been made to that file. + +To reduce the length of copyright notices, consecutive years in the +copyright notice can be combined into a single range. For instance, +the following list of copyright years... + + 1986, 1988, 1989, 1991-1993, 1999, 2000, 2007, 2008, 2009, 2010, 2011 + +... is abbreviated into: + + 1986, 1988-1989, 1991-1993, 1999-2000, 2007-2011 + +Such ranges are used when nontrivial changes were made to that file +each and every year in the range (inclusive). + (this is for editing this file with GNU emacs) Local Variables: --/e2eDi0V/xtL+Mc8--