diff options
author | Rich Felker <dalias@aerifal.cx> | 2011-07-04 11:56:26 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2011-07-04 11:56:26 -0400 |
commit | 93288463d396ef7f044bca50485df5121dc837b8 (patch) | |
tree | e8c4aab88661d4bc5471bc8f3b303575c19d2c7b | |
parent | 8b550a220c1c6ba4376e121087cbfd27931cd278 (diff) | |
download | libc-testsuite-93288463d396ef7f044bca50485df5121dc837b8.tar.gz |
printf: "if a precision is specified, the '0' flag shall be ignored."
-rw-r--r-- | snprintf.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -39,9 +39,9 @@ static const struct { /* ...but it still has to honor width and flags. */ { "%2.0u", 0, " " }, - { "%02.0u", 0, "00" }, + { "%02.0u", 0, " " }, { "%2.0d", 0, " " }, - { "%02.0d", 0, "00" }, + { "%02.0d", 0, " " }, { "% .0d", 0, " " }, { "%+.0d", 0, "+" }, |