On 2025-04-13 18:04, Paul Eggert wrote:
Thanks; I installed the attached somewhat fancier patch into Gnulib.
... and then installed the attach further patch to fix a thinko in the
previously-mentioned one.From f6d648a883676256894f5687cbceffb1f4209e3d Mon Sep 17 00:00:00 2001
From: Paul Eggert <egg...@cs.ucla.edu>
Date: Sun, 13 Apr 2025 18:53:17 -0700
Subject: [PATCH] =?UTF-8?q?regex:=20don=E2=80=99t=20assume=20RE=5FSYNTAX?=
=?UTF-8?q?=5F*=20work=20in=20#if?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
* m4/regex.m4 (gl_REGEX): Fix thinko that would have
prevented future glibc versions from passing the test.
---
m4/regex.m4 | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/m4/regex.m4 b/m4/regex.m4
index 1b2012fe00..52ce5c3b37 100644
--- a/m4/regex.m4
+++ b/m4/regex.m4
@@ -1,5 +1,5 @@
# regex.m4
-# serial 79
+# serial 80
dnl Copyright (C) 1996-2001, 2003-2025 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
@@ -54,7 +54,7 @@ AC_DEFUN([gl_REGEX],
static void sigabrt_no_core (int sig) { raise (SIGTERM); }
#endif
- #if RE_SYNTAX_EMACS != (RE_CHAR_CLASSES | RE_INTERVALS)
+ #if !RE_SYNTAX_EMACS
# error "RE_SYNTAX_EMACS does not match Emacs behavior"
#endif
]],
--
2.45.2