changeset 18041:07ede17141c2

update-copyright: fix test failure with perl >= 5.22 * build-aux/update-copyright: Escape a literal left curly bracket, required with perl >= 5.22
author Friedrich Haubensak <hsk@fli-leibniz.de>
date Thu, 02 Jul 2015 14:36:33 +0100
parents c0bf512e0e48
children 6ff81241d5b7
files ChangeLog build-aux/update-copyright
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu Jul 02 16:48:24 2015 +0900
+++ b/ChangeLog	Thu Jul 02 14:36:33 2015 +0100
@@ -1,3 +1,9 @@
+2015-07-02  Friedrich Haubensak  <hsk@fli-leibniz.de>
+
+	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  <ueno@gnu.org>
 
 	u{16,32}-strstr-tests: relax timeout condition
--- a/build-aux/update-copyright	Thu Jul 02 16:48:24 2015 +0900
+++ b/build-aux/update-copyright	Thu Jul 02 14:36:33 2015 +0100
@@ -124,7 +124,7 @@
 use warnings;
 
 my $copyright_re = 'Copyright';
-my $circle_c_re = '(?:\([cC]\)|@copyright{}|\\\\\(co|&copy;)';
+my $circle_c_re = '(?:\([cC]\)|@copyright\{}|\\\\\(co|&copy;)';
 my $holder = $ENV{UPDATE_COPYRIGHT_HOLDER};
 $holder ||= 'Free Software Foundation, Inc.';
 my $prefix_max = 5;