summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/vasprintf.c
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2002-09-26 13:09:48 +0000
committertjr <tjr@FreeBSD.org>2002-09-26 13:09:48 +0000
commit7733fef36f707ac0914a4c0b1cc2958accbeffb0 (patch)
treef105794d54fb6abf4d402d0071c4f01747390c74 /lib/libc/stdio/vasprintf.c
parent9228738b8cc92ba9e9572b51f53ab8918f723077 (diff)
downloadFreeBSD-src-7733fef36f707ac0914a4c0b1cc2958accbeffb0.zip
FreeBSD-src-7733fef36f707ac0914a4c0b1cc2958accbeffb0.tar.gz
Back out previous and solve the problems a different way: move va_start/
va_end closer to the __vfprintf() call, free the buffer when __vfprintf() fails and don't bother trying to shrink the buffer with realloc() before returning it. Submitted by: bde
Diffstat (limited to 'lib/libc/stdio/vasprintf.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud