diff options
author | tjr <tjr@FreeBSD.org> | 2002-09-26 13:09:48 +0000 |
---|---|---|
committer | tjr <tjr@FreeBSD.org> | 2002-09-26 13:09:48 +0000 |
commit | 7733fef36f707ac0914a4c0b1cc2958accbeffb0 (patch) | |
tree | f105794d54fb6abf4d402d0071c4f01747390c74 /lib/libc/stdio/vasprintf.c | |
parent | 9228738b8cc92ba9e9572b51f53ab8918f723077 (diff) | |
download | FreeBSD-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