Windows specific vsnprintf fixes.
authorErik de Castro Lopo <erikd@mega-nerd.com>
Mon, 22 Sep 2014 08:29:32 +0000 (18:29 +1000)
committerErik de Castro Lopo <erikd@mega-nerd.com>
Mon, 22 Sep 2014 08:29:36 +0000 (18:29 +1000)
commit1c7e3f100f4ff51be2ac85a1d21d2b6f2926ea39
treef15ea190d793ef717ffee42406bc116bd66be9f7
parente0ac5d46f0e8d3b3394d794f1e2ec201b0043c94
Windows specific vsnprintf fixes.

* Changes flac_snprintf (in src/share/grabbag/snprintf.c) and its copy
  local_snprintf (src/libFLAC/metadata_iterators.c) to be almost sane.

* Adds flac_vsnprintf (src/share/grabbag/snprintf.c) and its copy
  local_vsnprintf (src/share/win_utf8_io/win_utf8_io.c).

* Changes stats_print_info in src/flac/utils.c so it uses flac_vsnprintf
  instead of vsnprintf. This makes return value checking unnecessary.

Patch-from: lvqcl <lvqcl.mail@gmail.com>
include/share/compat.h
src/flac/utils.c
src/libFLAC/metadata_iterators.c
src/share/grabbag/snprintf.c
src/share/win_utf8_io/win_utf8_io.c