> | http://cvs.openbsd.org/cgi-bin/query-pr-wrapper?full=yes&numbers=5523
>
> But if you follow the link:
>
> http://www.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap05.html
>
> You'll see that there is no mention of the 'l' modifier, and OpenBSD
> similarly closed the PR.
Yes, "length modifiers" are not allowed for awk's printf operator
and it's safer to disallow them explicitly.
Quick check: between % sign and [diouxXfeEgGcs] character (on the right side)
only the following chars are allowed: [-+0-9 #].
> The question is should we completely remove support for %l, do a half-assed
> job like we do now, by not handling long long, or fix %lld?
%l should be disabled because there is no such "conversion
specifiers". %lld - too because "length modifiers" are
not allowed for awk's printf (see above).
--
Best regards, Aleksey Cheusov.