summaryrefslogtreecommitdiff
path: root/src/internal/intparse.c
AgeCommit message (Collapse)AuthorLines
2011-07-25comment non-obvious de bruijn sequence code in int parserRich Felker-0/+2
2011-07-14fix various bugs in new integer parser frameworkRich Felker-4/+7
1. my interpretation of subject sequence definition was wrong. adjust parser to conform to the standard. 2. some code for handling tail overflow case was missing (forgot to finish writing it). 3. typo (= instead of ==) caused ERANGE to wrongly behave like EINVAL
2011-07-14new restartable integer parsing framework.Rich Felker-0/+105
this fixes a number of bugs in integer parsing due to lazy haphazard wrapping, as well as some misinterpretations of the standard. the new parser is able to work character-at-a-time or on whole strings, making it easy to support the wide functions without unbounded space for conversion. it will also be possible to update scanf to use the new parser.