]> Savannah Git Hosting - gnulib.git/commitdiff
update-copyright tests: Fix test failure (regression 2023-06-18).
authorBruno Haible <bruno@clisp.org>
Tue, 3 Oct 2023 12:44:21 +0000 (14:44 +0200)
committerBruno Haible <bruno@clisp.org>
Tue, 3 Oct 2023 12:44:21 +0000 (14:44 +0200)
* build-aux/update-copyright: Add "use re 'eval';" declaration.

ChangeLog
build-aux/update-copyright

index 184d93c57f0076aadb46ad6ee741988dc32ec88d..b9ced8b4aaaefa390845e39320d9854b950626e0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2023-10-03  Bruno Haible  <bruno@clisp.org>
+
+       update-copyright tests: Fix test failure (regression 2023-06-18).
+       * build-aux/update-copyright: Add "use re 'eval';" declaration.
+
 2023-10-03  Bruno Haible  <bruno@clisp.org>
 
        Update re *-*-windows*-gnu* config triplets, withdrawn on 2023-09-19.
index 0343eaa72c134009ef2985db86b42b6792a84852..509f86c1dcd7757567c11610d9085716c16a1c55 100755 (executable)
 eval 'exec perl -wSx -0777 -pi "$0" "$@"'
      if 0;
 
-my $VERSION = '2023-06-18.01:14'; # UTC
+my $VERSION = '2023-10-03.12:14'; # UTC
 # The definition above must lie within the first 8 lines in order
 # for the Emacs time-stamp write hook (at end) to update it.
 # If you change this file with Emacs, please let the write hook
@@ -146,6 +146,7 @@ my $VERSION = '2023-06-18.01:14'; # UTC
 
 use strict;
 use warnings;
+use re 'eval';
 
 my $copyright_re = 'Copyright';
 my $circle_c_re = '(?:\([cC]\)|@copyright\{}|\\\\\(co|&copy;|©)';