[ostree] core: And one more race in multithreaded mkdir -p
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ostree] core: And one more race in multithreaded mkdir -p
- Date: Mon, 15 Oct 2012 14:50:49 +0000 (UTC)
commit d6956bfc198eafa1ac75be17bebf1017bda46b03
Author: Colin Walters <walters verbum org>
Date: Mon Oct 15 10:42:18 2012 -0400
core: And one more race in multithreaded mkdir -p
Sigh =(
src/libotutil/ot-gio-utils.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libotutil/ot-gio-utils.c b/src/libotutil/ot-gio-utils.c
index 5c34982..43e5a6e 100644
--- a/src/libotutil/ot-gio-utils.c
+++ b/src/libotutil/ot-gio-utils.c
@@ -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))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]