[flac-dev] [PATCH] flac version of (v)snprintf

Erik de Castro Lopo mle+la at mega-nerd.com
Mon Sep 22 01:33:45 PDT 2014

lvqcl wrote:

> The patch changes flac_snprintf (in src/share/grabbag/snprintf.c)
> and its copy local_snprintf (src/libFLAC/metadata_iterators.c).
> It also adds flac_vsnprintf (src/share/grabbag/snprintf.c) and
> its copy local_vsnprintf (src/share/win_utf8_io/win_utf8_io.c).
> And it changes stats_print_info in src/flac/utils.c so it uses flac_vsnprintf
> instead of vsnprintf. Return value checking becomes unnecessary.
> Comments?

I think the only improvement would be to remove the local_* versions
in favour of the flac_* versions.

Applied. Thanks.

Erik de Castro Lopo

More information about the flac-dev mailing list