core: And one more race in multithreaded mkdir -p

Sigh =(
This commit is contained in:
Colin Walters committed 2012-10-15 10:49:48 -04:00
1 parent c0a6b5da71
commit d6956bfc19
1 file changed
+1 -1
+1 -1
View File
@@ -72,7 +72,7 @@ ot_gfile_ensure_directory (GFile *dir,
if (!ot_gfile_ensure_directory (parent, TRUE, error))
goto out;
}
if (!g_file_make_directory (dir, NULL, error))
if (!ot_gfile_ensure_directory (dir, FALSE, error))
goto out;
}
else if (!g_error_matches (temp_error, G_IO_ERROR, G_IO_ERROR_EXISTS))