Make buffer appending more efficient
Make buffer appending more efficient

We make cork_buffer_append_vprintf more efficient by not relying on
vsnprintf to determine the size of the format string.  Instead, we
call vsnprintf directly on the current buffer.  If it fails, we add
more space to the buffer and repeat.  The second call is guaranteed
to succeed since the call to cork_buffer_ensure_size_int guarantees
the requested space will be available upon return.

rogers0/libcork,redjack/libcork,redjack/libcork,tempbottle/libcork,rogers0/libcork,ifduyue/libcork,dcreager/libcork,dcreager/libcork,rogers0/libcork,redjack/libcork,redjack/libcork,tempbottle/libcork,dcreager/libcork,redjack/libcork,dcreager/libcork,tempbottle/libcork,ifduyue/libcork,dcreager/libcork,ifduyue/libcork,tempbottle/libcork,rogers0/libcork,redjack/libcork,tempbottle/libcork,tempbottle/libcork,ifduyue/libcork,rogers0/libcork,ifduyue/libcork,rogers0/libcork,ifduyue/libcork