summaryrefslogtreecommitdiff
path: root/src/stdio/__scanf.c
AgeCommit message (Collapse)AuthorFilesLines
2011-04-25fix 2 eof-related bugs in scanfRich Felker1-3/+4
1. failed match of literal chars from the format string would always return matching failure rather than input failure at eof, leading to infinite loops in some programs. 2. unread of eof would wrongly adjust the character counts reported by %n, yielding an off-by-one error.
2011-02-12initial check-in, version 0.5.0v0.5.0Rich Felker1-0/+487