bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: regex.m4 fails in all glibc


From: Paul Eggert
Subject: Re: regex.m4 fails in all glibc
Date: Thu, 15 Jul 2021 00:08:09 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0

On 7/14/21 8:51 AM, 林宏雄 wrote:
We expect that configure should not use the included regex.c
on the system with up-to-date glibc.

Recently that has not been the case, as glibc has been trailing behind Gnulib a bit. At some point I hope they will become more in sync.

Returning 0 by re_compile_pattern() is correct behavior. It should not fail.
Thank you for reporting the problem. There is no formal spec for re_compile_pattern and the regular expression is in some sense invalid and in another sense valid, so it's not clear which is the correct behavior here. However, Gnulib should allow the latest glibc behavior, as that behavior is arguably correct.

I installed the attached patches. The first patch merely fixes some longstanding quoting problems. The second patch updates the Gnulib tests to match the latest Gnulib, and to allow glibc implementations that behave as you describe. However, glibc 2.33 (the current version) still fails to pass the configure-time test, due to glibc bug 11053 which is fixed in Gnulib; see:

https://sourceware.org/bugzilla/show_bug.cgi?id=11053

Attachment: 0001-regex-fix-shell-quoting-problem-in-configuration.patch
Description: Text Data

Attachment: 0002-regex-modernize-to-newer-regex-bugset.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]