<i>[format %h?] rejects valid integers</i> status still Open with 4 other changes
by
.
D 2005-09-08T01:29:50
J icomment Logged\sIn:\sYES\s\nuser_id=80530\n\n\nA\srelated\sissue\sis\sinteger\s[format]s\swithout\na\slength\sspecifier,\sfor\sexample:\n\n%\sformat\s%u\s0xffffffff\n4294967295\n%\sformat\s%u\s0x100000000\ninteger\svalue\stoo\slarge\sto\srepresent\n\nAs\swith\sthe\s"h"-constrained\sformatting,\nwe\scould\struncate\sto\sthe\snative\slength\nof\sa\slong\sbefore\sformatting\sand\saccept\nthe\swide\sargument.\s\sDoing\sthat\swould\nproduce:\n\n%\sformat\s%hu\s0x100000000\n0\n\nHowever,\sthis\sbehavior\sis\sactually\ntested\sby\sthe\stest\ssuite\svia\stests\nformat-17.1\sand\sformat-18.2\s.\s\sThe\nrestriction\sand\sthese\stest\sdon't\sreally\nmake\ssense\sto\sme,\sbut\sperhaps\sa\nmaintainer\sknows\sbetter?\n\n\n
J login dgp
J mimetype text/plain
J username dgp
K 1284178fffffffffffffffffffffffffffffffff
U dgp
Z e01569a23a9f6bdf8c256694dc6f310e