Subject: bug#23269: MirBSD 10 i386 test failures [Re: grep-2.24.13-bed6 feedback

From: Paul Eggert <[email-masked]>
Date: Mon, 18 Apr 2016 08:05:34 -0700

On 04/18/2016 07:54 AM, Jim Meyering wrote:
> I'm sure you intended this additional change, so
> that the if-expression can sometimes be false:
>
> +      if (mbrtowc (&wc, buf, 1, &mbs) >= 0)
> -       if (mbrtowc (&wc, buf, 1, &mbs) < (size_t)-2)

Oh yes.  (Blush.)  Or it could be <= 1.

>
> with that, the btowc replacement function still
> declares bytes 128..255 to be invalid in the C
> locale.
>

Too bad. I'm afraid someone with access to MirBSD will need to debug it.