[uClibc]Bug in printf.c ("%c",0)

Manuel Novoa III mnovoa3 at bellsouth.net
Mon May 7 15:31:26 UTC 2001


Johan Adolfsson wrote:
> 
> The length is not correct when doing printf("%c",0)
> the following patch seems to fix that, but there might be better ways...
> (linenumbers might not be the same as you have)

I'll take care of fixing that today.  Thanks.

> On April 26 I also posted another printf.c patch suggestion that
> unrolled the loop in asprintf, making the generated code smaller
> and removed the warning, any comments on that?
> (Those with arm, mips and ppc could try it and
> see if the code gets smaller for those platforms too (atleast with -O2 ))

I'll look at that today as well.  My system was down for a few days.

Manuel





More information about the uClibc mailing list