diff options
author | Rich Felker <dalias@aerifal.cx> | 2014-06-04 03:39:22 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2014-06-04 03:39:22 -0400 |
commit | 6a25313c1122629b43b990ada70af1c209f03a54 (patch) | |
tree | f91e8a217f690c27cfa27e9914489081630f8237 /src/stdio/tmpfile.c | |
parent | add support for ipv6 scope_id to getaddrinfo and getnameinfo (diff) | |
download | grovel-6a25313c1122629b43b990ada70af1c209f03a54.tar.gz grovel-6a25313c1122629b43b990ada70af1c209f03a54.tar.xz |
simplify vasprintf implementation
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.
Diffstat (limited to 'src/stdio/tmpfile.c')
0 files changed, 0 insertions, 0 deletions