[Toybox] [PATCH] wc: fix the column width heuristics even further.
enh
enh at google.com
Thu Jul 26 16:38:44 PDT 2018
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/20180726/196d5a1a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-wc-fix-the-column-width-heuristics-even-further.patch
Type: text/x-patch
Size: 3426 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20180726/196d5a1a/attachment.bin>
More information about the Toybox
mailing list