[Toybox] [PATCH] xargs: fix -E.

Rob Landley rob at landley.net
Mon Oct 21 14:55:47 PDT 2019


On 10/18/19 7:22 PM, enh via Toybox wrote:
> 89a8d00e470f1999a62ceea81269af2f39c655ba broke -E by switching to a
> prefix match. Add the missing test and fix the bug, but caching the
> length of the -E argument because the call to strlen(3) on every single
> piece of input presumably motivated the change that introduced the bug.

I fixed it a different way as part of a cleanup over the weekend, did that suffice?

(Sorry, I've gotten into a "too many pending bug reports" swap-thrashing thing,
I cut a release and walked away from the computer for a day or two...)

Rob



More information about the Toybox mailing list