musl/src/stdlib/strtoumax.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
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.
fix all implicit conversion between signed/unsigned pointers 2011年03月25日T20:34:03+00:00 Rich Felker dalias@aerifal.cx 2011年03月25日T20:34:03+00:00 9ae8d5fc71a4b61ec826d58f03f7b543755fb1d4 sadly the C language does not specify any such implicit conversion, so this is not a matter of just fixing warnings (as gcc treats it) but actual errors. i would like to revisit a number of these changes and possibly revise the types used to reduce the number of casts required.
sadly the C language does not specify any such implicit conversion, so
this is not a matter of just fixing warnings (as gcc treats it) but
actual errors. i would like to revisit a number of these changes and
possibly revise the types used to reduce the number of casts required.
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 によって変換されたページ (->オリジナル) /