On Tue, May 7, 2013 at 1:32 PM, James Hogan <[email protected]> wrote:
> When -F isn't specified (and !ENABLE_EXTRA_COMPAT), grep -x uses
> regexec's regmatch_t output to determine if the match was the entire
> line. However it also set the REG_NOSUB flag which makes it ignore the
> regmatch_t argument.
>
> Add an exception to the setting of REG_NOSUB for OPT_x and add some test
> cases to test the behaviour of -x.
>
> Signed-off-by: James Hogan <[email protected]>
> Cc: Natanael Copa <[email protected]>
> Cc: Denys Vlasenko <[email protected]>

Applied, thanks!
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to