[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] regex: port to Gawk on nonstandard platforms
From: |
arnold |
Subject: |
Re: [PATCH] regex: port to Gawk on nonstandard platforms |
Date: |
Tue, 28 Jan 2020 00:41:19 -0700 |
User-agent: |
Heirloom mailx 12.5 7/5/10 |
Paul Eggert <address@hidden> wrote:
> On 1/26/20 1:42 AM, address@hidden wrote:
> > And then in places in regcomp.c BITSET_WORD_BITS is tested in
> > several #if/#elif statements.
>
> Ouch, I hadn't noticed that. It's exercised only on non-GCC platforms
> that don't support INT_WIDTH etc., which is why I didn't see it in my
> testing. I installed the first attached patch, which should fix it.
> Thanks for reporting it.
>
> While I was at it I also installed the second attached patch, since the
> regex code no longer depends on the limits-h module. This second patch
> shouldn't affect Awk.
Much thanks for the fix. I have pulled it into gawk and we'll see
what my testers report.
Thanks,
Arnold