On Sun, 30 Apr 2017, Martin Sebor wrote:
On 04/29/2017 01:17 AM, Marc Glisse wrote:Hello,this patch seems rather trivial, once one knows that those functions always write exactly n characters (they fill with 0 as needed at the end).Nice! Now it just needs to be made to work the other way around too, so the dead str{,n}cpy calls is eliminated:
I think I've seen related patches on the list, Prathamesh Kulkarni seems to be working on it.
-- Marc Glisse