• Erik de Castro Lopo's avatar
    Windows specific vsnprintf fixes. · 1c7e3f10
    Erik de Castro Lopo authored
    * 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>
win_utf8_io.c 9.2 KB