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

enh enh at google.com
Sun Oct 20 22:39:47 PDT 2019


ping?

On Fri, Oct 18, 2019 at 5:22 PM enh <enh at google.com> 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.
> ---
>  tests/xargs.test   | 2 +-
>  toys/posix/xargs.c | 6 +++++-
>  2 files changed, 6 insertions(+), 2 deletions(-)



More information about the Toybox mailing list