core: And one more race in multithreaded mkdir -p

Sigh =(
This commit is contained in:
Colin Walters 2012-10-15 10:42:18 -04:00
parent c0a6b5da71
commit d6956bfc19
1 changed files with 1 additions and 1 deletions

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))