[Toybox] [PATCH] wc: fix the column width heuristics even further.

enh enh at google.com
Mon Jul 30 11:17:40 PDT 2018


ping?

On Thu, Jul 26, 2018 at 4:38 PM enh <enh at google.com> wrote:

>
> This was found by
> https://kernel.googlesource.com/pub/scm/linux/kernel/git/shuah/linux-kselftest/+/master/tools/testing/selftests/splice/default_file_splice_read.sh
> which broke after the recent change.
>
> Plus this actually fixes another of our existing test failures on the host.
>
> I'm assuming we don't want to try the "exact fit" heuristics until we
> have a concrete need for them. (I haven't fully understood the
> circumstances under which they're used, though the two remaining host
> test failures appear to be because of them.)
>
> Bug: http://b/111891791
> Test: ran tests
> ---
>  tests/wc.test   |  6 ++++--
>  toys/posix/wc.c | 13 +++++++++----
>  2 files changed, 13 insertions(+), 6 deletions(-)
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20180730/4e3c53e4/attachment.htm>


More information about the Toybox mailing list