path: root/src/thread/x86_64
diff options
authorRich Felker <>2014-11-15 12:16:19 -0500
committerRich Felker <>2014-11-15 12:16:19 -0500
commitb91cdbe2bc8b626aa04dc6e3e84345accf34e4b1 (patch)
treec99c9119aceee45a9d88f2a4f0a90cf50942270c /src/thread/x86_64
parentec4318943a26d4bd4050481d11709853184f2794 (diff)
fix behavior of printf with alt-form octal, zero precision, zero value
in this case there are two conflicting rules in play: that an explicit precision of zero with the value zero produces no output, and that the '#' modifier for octal increases the precision sufficiently to yield a leading zero. ISO C ( paragraph 6 in C99+TC3) includes a parenthetical remark to clarify that the precision-increasing behavior takes precedence, but the corresponding text in POSIX off of which I based the implementation is missing this remark. this issue was covered in WG14 DR#151.
Diffstat (limited to 'src/thread/x86_64')
0 files changed, 0 insertions, 0 deletions