[Toybox] A couple of minor fixes

Paul Barker paul at paulbarker.me.uk
Sun Jun 5 04:45:10 PDT 2016


Hi all,

I'm in the process of updating to toybox 0.7.1 in OpenEmbedded and I've
made two minor fixes:

* The version should report as 0.7.1 not 0.7.0.

* grep didn't print any output due to printf choking on a field width
  of INT_MAX/2. When trim is not set we can drop the field width
  instead of using a huge default width.

Patches for both issues are attached.

Many thanks,
Paul Barker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-TOYBOX_VERSION.patch
Type: text/x-patch
Size: 551 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20160605/9558bbaf/attachment-0006.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Fix-trimmed-printf-in-grep.patch
Type: text/x-patch
Size: 1127 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20160605/9558bbaf/attachment-0007.bin>


More information about the Toybox mailing list