Mercurial > gnulib
changeset 39210:9b55cbc9c002
update-copyright: Handle use of ©
* build-aux/update-copyright ($circle_c_re): Update regex to
handle use of © in headers.
author | Mathieu Lirzin <mthl@gnu.org> |
---|---|
date | Thu, 04 Jan 2018 15:59:04 +0100 |
parents | d55b9d6af1df |
children | 28a8d93056e6 |
files | ChangeLog build-aux/update-copyright |
diffstat | 2 files changed, 9 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Fri Jan 05 09:36:34 2018 -0800 +++ b/ChangeLog Thu Jan 04 15:59:04 2018 +0100 @@ -1,3 +1,9 @@ +2018-01-04 Mathieu Lirzin <mthl@gnu.org> + + update-copyright: Handle use of © + * build-aux/update-copyright ($circle_c_re): Update regex to + handle use of © in headers. + 2018-01-04 Tim Rühsen <tim.ruehsen@gmx.de> Fix -Wundef warning in user-included header lib/cdefs.h.
--- a/build-aux/update-copyright Fri Jan 05 09:36:34 2018 -0800 +++ b/build-aux/update-copyright Thu Jan 04 15:59:04 2018 +0100 @@ -3,7 +3,7 @@ if 0; # Update an FSF copyright year list to include the current year. -my $VERSION = '2017-09-13.06:45'; # UTC +my $VERSION = '2018-01-04.14:48'; # UTC # Copyright (C) 2009-2018 Free Software Foundation, Inc. # @@ -81,6 +81,7 @@ # B. (c) # C. @copyright{} # D. © +# E. © # # 4. The "Copyright" appears at the beginning of a line, except that it # may be prefixed by any sequence (e.g., a comment) of no more than @@ -124,7 +125,7 @@ use warnings; my $copyright_re = 'Copyright'; -my $circle_c_re = '(?:\([cC]\)|@copyright\{}|\\\\\(co|©)'; +my $circle_c_re = '(?:\([cC]\)|@copyright\{}|\\\\\(co|©|©)'; my $holder = $ENV{UPDATE_COPYRIGHT_HOLDER}; $holder ||= 'Free Software Foundation, Inc.'; my $prefix_max = 5;