GNOME Bugzilla – Bug 669330
glocalfile: fix error code when opening a directory on win32
Last modified: 2012-02-09 11:48:29 UTC
g_file_read() was returning G_IO_ERROR_IS_DIRECTORY when you tried to open a directory on unix, but G_IO_ERROR_PERMISSION_DENIED on win32. Fix that, and add a test to tests/file.c Pointed out on IRC by Paweł Forysiuk.
Created attachment 206699 [details] [review] glocalfile: fix error code when opening a directory on win32
Review of attachment 206699 [details] [review]: Sure, ok
Attachment 206699 [details] pushed as ca5ed93 - glocalfile: fix error code when opening a directory on win32