util: add util_vasprintf() for Windows (v2)
authorBrian Paul <brianp@vmware.com>
Fri, 8 Sep 2017 22:41:16 +0000 (16:41 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 28 Sep 2017 16:41:33 +0000 (10:41 -0600)
commit864148d69e1ecf6e8ff07b0587627e41823f1cb4
tree234ac8356efc6e46a535d6c7956768a9927c7955
parent76a4209dc0418890bc7a01196c582f90d4c5c021
util: add util_vasprintf() for Windows (v2)

We don't have vasprintf() on Windows so we need to implement it ourselves.

v2: compute actual length of output string, per Nicolai Hähnle.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/util/u_string.h