diff options
author | jstebbins <[email protected]> | 2009-06-25 15:41:08 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2009-06-25 15:41:08 +0000 |
commit | 869360c5d7e6c8d62f8664ac08b7de5f4788ebc6 (patch) | |
tree | 74de6bf2c9adaee054d4c4662fee7815b5d60cf0 | |
parent | 79cb08d128b3c6562dd313e39c1546e34749adf6 (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
-rw-r--r-- | gtk/src/queuehandler.c | 3 |
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; |