musl/src/stdlib/wcstoimax.c, branch master musl - an implementation of the standard library for Linux-based systems use the new integer parser (FILE/shgetc based) for strtol, wcstol, etc. 2012年04月16日T20:55:24+00:00 Rich Felker dalias@aerifal.cx 2012年04月16日T20:55:24+00:00 96e9773eb764afa649b099a6e283dba4c69389a9
fix various bugs in new integer parser framework 2011年07月15日T02:11:00+00:00 Rich Felker dalias@aerifal.cx 2011年07月15日T02:11:00+00:00 47d027ee1a44829819c345287623fe75374893ab 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
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
fix wcsto[iu]max with high characters 2011年07月14日T05:12:05+00:00 Rich Felker dalias@aerifal.cx 2011年07月14日T05:12:05+00:00 d3fd192523db544e6005051f224a2d7bafabedd9 stopping without letting the parser see a stop character prevented getting a result. so treat all high chars as the null character and pass them into the parser. also eliminated ugly tmp var using compound literals.
stopping without letting the parser see a stop character prevented
getting a result. so treat all high chars as the null character and
pass them into the parser.
also eliminated ugly tmp var using compound literals.
new restartable integer parsing framework. 2011年07月14日T04:51:45+00:00 Rich Felker dalias@aerifal.cx 2011年07月14日T04:51:45+00:00 ecc9c5fcfa4831b290cc1a63c0346cbb0c1fcf42 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.
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.
more header fixes, minor warning fix 2011年02月15日T00:33:11+00:00 Rich Felker dalias@aerifal.cx 2011年02月15日T00:33:11+00:00 c247ebdd989365d20da3ce41fdeb2002e0a1ba13
initial check-in, version 0.5.0 2011年02月12日T05:22:29+00:00 Rich Felker dalias@aerifal.cx 2011年02月12日T05:22:29+00:00 0b44a0315b47dd8eced9f3b7f31580cf14bbfc01

AltStyle によって変換されたページ (->オリジナル) /