summaryrefslogtreecommitdiff
path: root/src/network/ent.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2014-06-04 03:39:22 -0400
committerRich Felker <dalias@aerifal.cx>2014-06-04 03:39:22 -0400
commit6a25313c1122629b43b990ada70af1c209f03a54 (patch)
treef91e8a217f690c27cfa27e9914489081630f8237 /src/network/ent.c
parentbdad2fefb206d9727d4a3254f7883b8455452d89 (diff)
downloadmusl-6a25313c1122629b43b990ada70af1c209f03a54.tar.gz
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/network/ent.c')
0 files changed, 0 insertions, 0 deletions