bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: dfa.c problems on MirBSD...


From: Aharon Robbins
Subject: Re: dfa.c problems on MirBSD...
Date: Sat, 01 May 2010 21:38:01 +0300
User-agent: Heirloom mailx 12.4 7/29/08

Hi.

> Date: Sat, 01 May 2010 13:34:57 +0200
> From: Paolo Bonzini <address@hidden>
> To: Aharon Robbins <address@hidden>
> CC: address@hidden
> Subject: Re: dfa.c problems on MirBSD...
>
> On 04/30/2010 11:10 AM, Aharon Robbins wrote:
> > Hi All.
> >
> > As part of testing gawk, Nelson Beebe builds it on a bunch of systems.
> > On MirBSD (which is some fringe BSD variant), the regx8bit test fails.
> > When gawk is run to bypass dfa, the test passes.
> >
> > Grep 2.6.3 does not pass all its tests on that system. The ones that
> > fail are:
> >
> > FAIL: test-mbrtowc3.sh
> > FAIL: test-mbsrtowcs3.sh
> > FAIL: test-wcrtomb.sh
> >
> > The following is a good way to reproduce the failure with grep:
> >
> > bash4.1$ echo -e 'a\xe5b' | grep $'\xe5'
> >
> > This prints nothing on MirBSD and prints the line on Linux.
>
> What's LC_ALL or LC_CTYPE or LANG on the two systems?

LC_TYPE is en_US.UTF-8. The others aren't set.

> Can you try git grep's dfa?

Once git is installed there (if I can get it to build).

I am pretty sure it won't make a difference, as gawk's dfa.c is essentially
identical to git-grep, and the failure occurs there.

It's a low-priority issue for me; you may make more progress working
directly with Nelson.

Thanks,

Arnold
>
> Paolo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]