]> Savannah Git Hosting - gnulib.git/commit
regex: modernize to newer regex bugset
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 15 Jul 2021 04:55:30 +0000 (23:55 -0500)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 15 Jul 2021 04:55:59 +0000 (23:55 -0500)
commite707dbe7c6da9dd8300cb3d60141f144a7a5d5b1
treeb41b51f3cc2c1e0ba740b50d1d075da6f9b8ff4e
parent11e6fc32e9c5c770150b47bc0260b1b91110eba0
regex: modernize to newer regex bugset

Problem reported by Hiroo Hayashi in:
https://lists.gnu.org/r/bug-gnulib/2021-07/msg00024.html
* m4/regex.m4 (gl_REGEX): Allow newer glibc behavior for ()0|\1,
behavior where the regex compiles but does not match.
Test for glibc bug 11053.
* tests/test-regex.c (bug_regex11, main): Add casts needed
for printf portability.
(main): Allow newer glibc behavior for ()0|\1.
ChangeLog
m4/regex.m4
tests/test-regex.c