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 <care...@gmail.com> 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
> 
> 
> 
> 




Reply via email to