Tony Abou-Assaleh <[EMAIL PROTECTED]> writes:

> The return code of 2 causes Spenser test#37 to fail. I am thinking
> that one of the following needs to be done (in order of my
> preference):
>
> 1) Correct Spenser test#37 to expect 2 as the return code.

That would be OK.

> 2) Correct src/grep.c to always return 1 on error

No, that's definitely not right.

> 3) Report a bug to gnulib that "Invalid range end" is misbehaving

That's not right either.  Gnulib is doing the right thing.

Another possibility is:

4) Specify RE_NO_EMPTY_RANGES so that [b-a] is valid.

I suppose this would be more backward-compatible with the previous 'grep'.


Reply via email to