[Toybox] A couple of minor fixes
Rob Landley
rob at landley.net
Sun Jun 5 10:41:43 PDT 2016
On 06/05/2016 06:45 AM, Paul Barker wrote:
> 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.
Sigh. My bad. (I added a note to the release notes on the website.)
> * grep didn't print any output due to printf choking on a field width
> of INT_MAX/2.
Wait, what? We cut it _down_ to INT_MAX/2 because glibc's printf started
choking on a field with of INT_MAX sometime after Ubuntu 12.04 (where it
worked just fine):
commit 93e27d0d4723d57082463c4d70e6443060a8732b
Author: Rob Landley <rob at landley.net>
Date: Wed Feb 10 16:23:31 2016 -0600
Although printf("%.*s", INT_MAX, s) works fine on ubuntu 12.04,
it broke since.
Now it can't handle the _smaller_ value? What libc version has this new bug?
Thanks,
Rob
More information about the Toybox
mailing list