summaryrefslogtreecommitdiff
path: root/service/dconf-writer.h
diff options
context:
space:
mode:
authorPhilip Withnall <withnall@endlessm.com>2018-08-01 15:14:19 +0100
committerPhilip Withnall <withnall@endlessm.com>2018-08-16 18:58:27 +0100
commit5ee749cd25f221c382fa4b9545cff62eefcb10cf (patch)
treed56e111398b8d9832f479b5614c5a41e0d529274 /service/dconf-writer.h
parente960b50696b95f4b035787e9cbceaa549c172c91 (diff)
downloaddconf-5ee749cd25f221c382fa4b9545cff62eefcb10cf.tar.gz
service: Allow opening corrupt GVDB files when writing
If a GVDB file cannot be opened due to being corrupt, move it out of the way, warn, and open a new blank database instead. This prevents the situation where a corrupt database stops the entire desktop session from loading. Note that the dconf_gvdb_utils_read_file() code path is only taken inside DConfWriter. The DConf engine sources (such as dconf-engine-source-system.c) open the GVDB tables separately, and already all handle errors gracefully. Signed-off-by: Philip Withnall <withnall@endlessm.com> https://gitlab.gnome.org/GNOME/glib/issues/1454
Diffstat (limited to 'service/dconf-writer.h')
0 files changed, 0 insertions, 0 deletions