On 9/19/22 01:09, Alex Colomar wrote: > Suggested-by: Walter Harms > Signed-off-by: Alex Colomar > --- > > v2: > > - bug about padding zeros fixed. But UB about 'l', 'll' (and 'j', 'z') not. > > I found the reason of the bug. It seems I didn't correctly understand printf_arginfo_size_funtion (as I suspected). I had to OR PA_FLAG_LONG[_LONG]. Now it works fine. I'll update the page, and send it later. Cheers, Alex --