musl/src/stdio/vasprintf.c, branch master musl - an implementation of the standard library for Linux-based systems simplify vasprintf implementation 2014年06月04日T07:39:22+00:00 Rich Felker dalias@aerifal.cx 2014年06月04日T07:39:22+00:00 6a25313c1122629b43b990ada70af1c209f03a54 the old implementation preallocated a buffer in order to try to avoid calling vsnprintf more than once. not only did this potentially lead to memory fragmentation from trimming with realloc; it also pulled in realloc/free, which otherwise might not be needed in a static linked program.
the old implementation preallocated a buffer in order to try to avoid
calling vsnprintf more than once. not only did this potentially lead
to memory fragmentation from trimming with realloc; it also pulled in
realloc/free, which otherwise might not be needed in a static linked
program.
cleanup asprintf stuff 2011年02月20日T22:19:37+00:00 Rich Felker dalias@aerifal.cx 2011年02月20日T22:19:37+00:00 3075f7e847b0c717959054b86360722326dbde1e
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 によって変換されたページ (->オリジナル) /