Subject: Re: bug#63533: test-mbrlen5.sh failure

From: Caleb Zulawski <[email-masked]>
Date: Wed, 17 May 2023 21:09:02 -0400

Thanks, this makes sense.  The configure file has the following:

# grep never invokes mbrtowc or mbrlen on empty input,
# so don't worry about this common bug,
# as working around it would merely slow grep down.
gl_cv_func_mbrtowc_empty_input='assume yes’

Isn’t this test too strict, then?  Or is there some way to disable/allow failure for this particular test?  It seems like it should not prevent a build.  Thanks.

> On May 16, 2023, at 2:55 AM, Carlo Arenas <[email-masked]> wrote:
> 
> That is a test for a bug that your system image has but that is not
> relevant to grep (mbrlen doesn't correctly handle a call with a len of
> 0).
> 
> Carlo
> 
> 
> 
>