mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 19:43:32 +00:00
a6f65eea7c
When a format string like %2x is provided, the width parameter was read correctly as 2, but it was not used when decoding the number from the input string (ie instead of reading 2 characters from the input string, vcscanf read all the characters). This change uses the value of width within the number decoding loop to read fixed number of digits correctly. if width is zero (not provided), the default of width is set as bits. Fixes #423 |
||
---|---|---|
.. | ||
atoi_test.c | ||
basename_test.c | ||
dirname_test.c | ||
fcvt_test.c | ||
fmt_test.c | ||
formatbinary64_test.c | ||
formatflex64_test.c | ||
formathex64_test.c | ||
formatint64_test.c | ||
formatint64thousands_test.c | ||
formatoctal32_test.c | ||
formatoctal64_test.c | ||
itoa64radix16_test.c | ||
lengthuint64_test.c | ||
palandprintf_test.c | ||
sizetol_test.c | ||
sleb128_test.c | ||
sprintf_s.inc | ||
sprintf_s_test.c | ||
sscanf_test.c | ||
strerror_r_test.c | ||
stripexts_test.c | ||
test.mk | ||
timevaltofiletime_test.c | ||
uleb64_test.c | ||
uleb128_test.c | ||
zleb64_test.c |