From: Friedrich Haubensak Date: Thu, 2 Jul 2015 13:36:33 +0000 (+0100) Subject: update-copyright: fix test failure with perl >= 5.22 X-Git-Tag: v1.0~7017 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=841d0dcfa8103235836a1aeb0c1ad657f43ade85;p=gnulib.git update-copyright: fix test failure with perl >= 5.22 * build-aux/update-copyright: Escape a literal left curly bracket, required with perl >= 5.22 --- diff --git a/ChangeLog b/ChangeLog index e6992f4465..8893c75d27 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2015-07-02 Friedrich Haubensak + + update-copyright: fix test failure with perl >= 5.22 (trivial) + * build-aux/update-copyright: Escape a literal left curly bracket, + required with perl >= 5.22 + 2015-07-02 Daiki Ueno u{16,32}-strstr-tests: relax timeout condition diff --git a/build-aux/update-copyright b/build-aux/update-copyright index 4eb4b93ea6..8cc36e22d5 100755 --- a/build-aux/update-copyright +++ b/build-aux/update-copyright @@ -124,7 +124,7 @@ use strict; 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;