From 2f443e2d9d451e135e6a342041cb04df51b51291 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Tue, 3 Oct 2023 14:44:21 +0200 Subject: [PATCH] update-copyright tests: Fix test failure (regression 2023-06-18). * build-aux/update-copyright: Add "use re 'eval';" declaration. --- ChangeLog | 5 +++++ build-aux/update-copyright | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 184d93c57f..b9ced8b4aa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2023-10-03 Bruno Haible + + update-copyright tests: Fix test failure (regression 2023-06-18). + * build-aux/update-copyright: Add "use re 'eval';" declaration. + 2023-10-03 Bruno Haible Update re *-*-windows*-gnu* config triplets, withdrawn on 2023-09-19. diff --git a/build-aux/update-copyright b/build-aux/update-copyright index 0343eaa72c..509f86c1dc 100755 --- a/build-aux/update-copyright +++ b/build-aux/update-copyright @@ -138,7 +138,7 @@ 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|©|©)'; -- 2.39.5