core: And one more race in multithreaded mkdir -p
Sigh =(
This commit is contained in:
parent
c0a6b5da71
commit
d6956bfc19
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Reference in New Issue