mapper: fix the bogus "not a directory" error message

Use stat() instead of g_file_test() to detect other types of errors,
such as "permission denied".
This commit is contained in:
Max Kellermann
2011-11-28 09:37:05 +01:00
parent cf15629aea
commit cead5e5bd7
2 changed files with 14 additions and 1 deletions

1
NEWS
View File

@@ -4,6 +4,7 @@ ver 0.16.6 (2010/??/??)
* encoder:
- flac, null, wave: fix buffer corruption bug
- wave: support packed 24 bit samples
* mapper: fix the bogus "not a directory" error message
* log: print reason for failure
* event_pipe: fix WIN32 regression
* define WINVER in ./configure