Re: [avr-gcc-list] printf "%*s" format

2017-10-17 Thread Erik Christiansen
Reply-To: avr-gcc-list@nongnu.org On 03.07.16 13:52, Paul "LeoNerd" Evans wrote: > I often find it useful to be able to print a character buffer of > dynamically-known size by using some variant on > > printf("%.*s", len, buf); > > It appears to me that avr-libc doesn't recognise this particul

Re: [avr-gcc-list] printf "%*s" format

2017-10-17 Thread Paul "LeoNerd" Evans
On Sun, 3 Jul 2016 13:52:08 +0100 "Paul \"LeoNerd\" Evans" wrote: > Would folk be amenable to a patch to add this feature? To my eye it > doesn't look like it would be more than about a 5-line change to add > it, I don't think it would massively increase code size. > > But I thought I'd ask firs