]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
maint: make update-copyright work in yet another case
authorJim Meyering <meyering@redhat.com>
Wed, 29 Jul 2009 13:39:20 +0000 (15:39 +0200)
committerJim Meyering <meyering@redhat.com>
Wed, 29 Jul 2009 13:39:25 +0000 (15:39 +0200)
* build-aux/update-copyright: Handle the case in which "\n#"
appears between the final year number and the copyright holder name.
* m4/lib-check.m4: Update copyright year list.
Reported by Joel E. Denny.

THANKS
build-aux/update-copyright
m4/lib-check.m4

diff --git a/THANKS b/THANKS
index 9115528b6e6dd74df00c79a87c403e79f91a80c3..d3541ce81918a8a05e4ed42492897d498f0522a6 100644 (file)
--- a/THANKS
+++ b/THANKS
@@ -277,6 +277,7 @@ Jim Dennis                          jimd@starshine.org
 Joakim Rosqvist                     dvljrt@cs.umu.se
 Jochen Hein                         jochen@jochen.org
 Joe Orton                           joe@manyfish.co.uk
+Joel E. Denny                       jdenny@clemson.edu
 Joerg Sonnenberger                  joerg@britannica.bec.de
 Joey Hess                           joeyh@debian.org
 Johan Boule                         bohan@bohan.dyndns.org
index 23d8f38cab5107200ce954adeaab5f3197561123..1ceaf8ab6465719552e16d242b45a901823e2be9 100755 (executable)
@@ -1,7 +1,7 @@
 #!/usr/bin/perl -0777 -pi
 # Update an FSF copyright year list to include the current year.
 
-my $VERSION = '2009-07-29.08:43'; # UTC
+my $VERSION = '2009-07-29.13:34'; # UTC
 
 # Copyright (C) 2009 Free Software Foundation
 #
@@ -27,7 +27,7 @@ my ($sec, $min, $hour, $mday, $month, $year) = localtime (time());
 my $this_year = $year + 1900;
 my $holder = 'Free Software Foundation';
 
-if (/([- ])((?:\d\d)?\d\d)(\s+$holder)/s)
+if (/([- ])((?:\d\d)?\d\d)((?:\n\#)?\s+$holder)/s)
   {
     my ($sep, $last_c_year, $rest) = ($1, $2, $3);
 
index b2d8d96cc3e619714350259d32bbc6bea5b2a77e..952101bda1a1461346fe3a6baabfb06dc9e8dd5f 100644 (file)
@@ -2,7 +2,7 @@
 
 dnl Misc lib-related macros for coreutils.
 
-# Copyright (C) 1993-1997, 2000-2001, 2003-2006, 2008
+# Copyright (C) 1993-1997, 2000-2001, 2003-2006, 2008-2009
 # Free Software Foundation, Inc.
 
 # This program is free software: you can redistribute it and/or modify