On 9/19/22 01:09, Alex Colomar wrote:
Suggested-by: Walter Harms <wharms@xxxxxx> Signed-off-by: Alex Colomar <alx.manpages@xxxxxxxxx> --- 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 -- <http://www.alejandro-colomar.es/>
Attachment:
OpenPGP_signature
Description: OpenPGP digital signature