[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Grep-devel] [platform-testers] new snapshot available: grep-3.1.46-
From: |
Jim Meyering |
Subject: |
Re: [Grep-devel] [platform-testers] new snapshot available: grep-3.1.46-504af |
Date: |
Sat, 15 Dec 2018 13:37:21 -0800 |
On Sat, Dec 15, 2018 at 11:53 AM Bruno Haible <address@hidden> wrote:
>
> Assaf Gordon wrote:
> > "backref-alt" test fails on several systems:
> > Ubuntu 14.04 (aarch64)
> > Raspbian 9.6 (armv7l)
> > Debian 8.11 (mips64)
> > Debian 8.11 (i686)
> > (perhaps something to do with non-amd64 systems?)
>
> I see it also fail on Ubuntu 16.04 (x86_64). test-suite.log contains this:
>
>
> FAIL: backref-alt
> =================
...
>
> regexec.c comes from libc. libc is glibc version 2.23-0ubuntu10.
Thanks to both of you for all the speedy testing!
> I guess the fix should be to detect the glibc bug in m4/regex.m4 ?
Exactly. That's what I'm doing now.
I'm expecting to insert something like this, probably reusing the
result value of "64":
/* Matching with the compiled form of this regexp would
provoke
an assertion failure prior to glibc-2.28:
regexec.c:1375: pop_fail_stack: Assertion `num >= 0'
failed
With glibc-2.28, compilation fails and reports the
invalid
back reference. */
re_set_syntax (RE_SYNTAX_POSIX_EGREP);
memset (®ex, 0, sizeof regex);
s = re_compile_pattern ("0|()0|\\1|0", 10, ®ex);
if (!s || strcmp (s, "Invalid back reference"))
result |= 64;
- Re: [Grep-devel] handling of non-BMP characters, (continued)
- Re: [Grep-devel] handling of non-BMP characters, Corinna Vinschen, 2018/12/16
- Re: [Grep-devel] handling of non-BMP characters, Corinna Vinschen, 2018/12/16
- Re: [Grep-devel] handling of non-BMP characters, Bruno Haible, 2018/12/19
- Re: [Grep-devel] handling of non-BMP characters, Corinna Vinschen, 2018/12/19
- Re: [Grep-devel] handling of non-BMP characters, Corinna Vinschen, 2018/12/19
- Re: [Grep-devel] handling of non-BMP characters, Jim Meyering, 2018/12/19
- Re: [Grep-devel] handling of non-BMP characters, Paul Eggert, 2018/12/19
- Re: [Grep-devel] handling of non-BMP characters, arnold, 2018/12/20
- Re: [Grep-devel] handling of non-BMP characters, Bruno Haible, 2018/12/20
Re: [Grep-devel] [platform-testers] new snapshot available: grep-3.1.46-504af, Bruno Haible, 2018/12/15
- Re: [Grep-devel] [platform-testers] new snapshot available: grep-3.1.46-504af,
Jim Meyering <=
Re: [Grep-devel] [platform-testers] new snapshot available: grep-3.1.46-504af, Bruno Haible, 2018/12/15
Re: [Grep-devel] [platform-testers] new snapshot available: grep-3.1.46-504af, Bruno Haible, 2018/12/15
Re: [Grep-devel] grep-3.1.46-504af on Minix, Bruno Haible, 2018/12/16