Work around incorrect g_file_test() behavior on Win32

g_file_test is redefined to be g_file_test_utf8 and thus can't handle
non-ASCII characters. This fix adds simple wrapper (taken from glib)
that fixes encoding and calls g_file_test_utf8. All required inclusions
of glib_compat.h are added as well.
This commit is contained in:
Denis Krjuchkov
2012-06-03 13:00:11 +06:00
committed by Max Kellermann
parent 055257a210
commit 25d053cbf2
6 changed files with 33 additions and 0 deletions

1
NEWS
View File

@@ -1,6 +1,7 @@
ver 0.16.9 (2012/??/??)
* decoder:
- ffmpeg: support WebM
* WIN32: fix renaming of stored playlists with non-ASCII names
ver 0.16.8 (2012/04/04)