summaryrefslogtreecommitdiff
path: root/extra/dconf
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-05-12 10:50:21 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-05-12 10:50:21 -0300
commit77eec019b9f8ee02a2888a36bdab6153105864ec (patch)
tree6cb284daefe14c96a1d1af4644f800623746fde0 /extra/dconf
parent52905437ad86d91ec0fa307f8322f6a5f265e505 (diff)
parent5c25d28847bcae8c3c51c1babcb09d36c7fbddba (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/amyedit/PKGBUILD extra/gtksourceview-sharp-2.0/PKGBUILD extra/gtksourceview/PKGBUILD testing/vi/PKGBUILD
Diffstat (limited to 'extra/dconf')
-rw-r--r--extra/dconf/fix-crash-when-user-database-is-not-present.patch29
1 files changed, 0 insertions, 29 deletions
diff --git a/extra/dconf/fix-crash-when-user-database-is-not-present.patch b/extra/dconf/fix-crash-when-user-database-is-not-present.patch
deleted file mode 100644
index ce748492b..000000000
--- a/extra/dconf/fix-crash-when-user-database-is-not-present.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From c80896f5644ec0a07822047dd7e899da63b42e89 Mon Sep 17 00:00:00 2001
-From: Ryan Lortie <desrt@desrt.ca>
-Date: Sun, 08 May 2011 12:08:38 +0000
-Subject: Fix crash when user database is not present
-
-If we fail to open the database in the user's home directory then the
-variable will be NULL. The refactor of the read function for lockdown
-support missed this check, resulting in a rather dramatic crash on fresh
-accounts.
----
-diff --git a/engine/dconf-engine.c b/engine/dconf-engine.c
-index ec99116..087d780 100644
---- a/engine/dconf-engine.c
-+++ b/engine/dconf-engine.c
-@@ -452,7 +452,11 @@ dconf_engine_read_internal (DConfEngine *engine,
- break;
-
- while (i < limit && value == NULL)
-- value = gvdb_table_get_value (engine->gvdbs[i++], key);
-+ {
-+ if (engine->gvdbs[i] != NULL)
-+ value = gvdb_table_get_value (engine->gvdbs[i], key);
-+ i++;
-+ }
-
- g_static_mutex_unlock (&engine->lock);
-
---
-cgit v0.9