NAKAI Yuta wrote:

> Hi
> On MSVCRT, wprintf expects that %s is wide char string, but for not MSVCRT,
> this is not true.
> When using -D__USE_MINGW_ANSI_STDIO=1 on MINGW, mingw doesn't use MSVCRT.
> 
> Therefore, compiling on mingw with -D__USE_MINGW_ANSI_STDIO=1 and redirecting
> stderr to a file, the printing result is corrupt.
> We should use fputws simply.
> A patch is attached.

Patch applied. Thanks.

Cheers,
Erik
-- 
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/
_______________________________________________
flac-dev mailing list
flac-dev@xiph.org
http://lists.xiph.org/mailman/listinfo/flac-dev

Reply via email to