3 ms·
Hm, at those who downvoted me: Read some older glibc bug reports. For example the one about sscanf("foo", "%10s", strptr) returning 1. Hint: According to the s
by archi42 9y ago
Hm, at those who downvoted me: Read some older glibc bug reports.
For example the one about sscanf("foo", "%10s", strptr) returning 1. Hint: According to the standard, it should return 0.
Musl does it right, which recently broke some of my test cases. But the bug is known and not fixed since years, maybe a decade...