[ostree] core: Misc bugfixes for commit
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ostree] core: Misc bugfixes for commit
- Date: Sun, 6 Nov 2011 20:48:15 +0000 (UTC)
commit 84e85a8377c46d1013299ab3b71ceb82588bc346
Author: Colin Walters <walters verbum org>
Date: Sun Nov 6 14:53:34 2011 -0500
core: Misc bugfixes for commit
ostree/ot-builtin-commit.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/ostree/ot-builtin-commit.c b/ostree/ot-builtin-commit.c
index b40fa06..663f820 100644
--- a/ostree/ot-builtin-commit.c
+++ b/ostree/ot-builtin-commit.c
@@ -195,7 +195,7 @@ ostree_builtin_commit (int argc, char **argv, const char *repo_path, GError **er
GOptionContext *context;
gboolean ret = FALSE;
OstreeRepo *repo = NULL;
- char *dir;
+ char *dir = NULL;
gboolean using_filename_cmdline;
gboolean using_filedescriptors;
GPtrArray *additions_array = NULL;
@@ -204,7 +204,7 @@ ostree_builtin_commit (int argc, char **argv, const char *repo_path, GError **er
char **iter;
char separator;
GVariant *metadata = NULL;
- GMappedFile *metadata_mappedf;
+ GMappedFile *metadata_mappedf = NULL;
GFile *metadata_f = NULL;
context = g_option_context_new ("[DIR] - Commit a new revision");
@@ -348,7 +348,7 @@ ostree_builtin_commit (int argc, char **argv, const char *repo_path, GError **er
fdata.out = out;
fdata.cancellable = NULL;
- if (g_thread_create (find_thread, &fdata, FALSE, error) == NULL)
+ if (g_thread_create_full (find_thread, &fdata, 0, FALSE, FALSE, G_THREAD_PRIORITY_NORMAL, error) == NULL)
goto out;
if (!ostree_repo_commit_from_filelist_fd (repo, branch, parent, subject, body, metadata,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]