summaryrefslogtreecommitdiffstats
path: root/gtk/src/queuehandler.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2009-06-25 15:41:08 +0000
committerjstebbins <[email protected]>2009-06-25 15:41:08 +0000
commit869360c5d7e6c8d62f8664ac08b7de5f4788ebc6 (patch)
tree74de6bf2c9adaee054d4c4662fee7815b5d60cf0 /gtk/src/queuehandler.c
parent79cb08d128b3c6562dd313e39c1546e34749adf6 (diff)
LinGui: With mingw, disable access rights checking of destination directory.
The glib function for this only checks fat32 permissions and fails randomly on NTFS. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2621 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/queuehandler.c')
-rw-r--r--gtk/src/queuehandler.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/src/queuehandler.c b/gtk/src/queuehandler.c
index 22b2c25e4..d47a2aa66 100644
--- a/gtk/src/queuehandler.c
+++ b/gtk/src/queuehandler.c
@@ -596,6 +596,8 @@ validate_settings(signal_user_data_t *ud)
g_free(destdir);
return FALSE;
}
+#if !defined(_WIN32)
+ // This doesn't work properly on windows
if (g_access(destdir, R_OK|W_OK) != 0)
{
message = g_strdup_printf(
@@ -608,6 +610,7 @@ validate_settings(signal_user_data_t *ud)
g_free(destdir);
return FALSE;
}
+#endif
GFile *gfile;
GFileInfo *info;
guint64 size;