From fb781c176e7e6c1f5decc5027727d02538da6313db255ffce95e84f749dd7f24 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Sun, 11 Sep 2016 15:48:48 +0000 Subject: [PATCH] Accepting request 426846 from home:zhangxiaofei:branches:GNOME:Factory - Update accountsservice-sysconfig.patch: Flush the buffer before shut down the GIOChannel, otherwise we get a truncated setting file. The problem has caused the switching autologin in gnome-control-center breaking /etc/sysconfig/displaymanager (bsc#998107). OBS-URL: https://build.opensuse.org/request/show/426846 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/accountsservice?expand=0&rev=93 --- accountsservice-sysconfig.patch | 2 +- accountsservice.changes | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/accountsservice-sysconfig.patch b/accountsservice-sysconfig.patch index 642c639..1a9aa43 100644 --- a/accountsservice-sysconfig.patch +++ b/accountsservice-sysconfig.patch @@ -231,7 +231,7 @@ Index: accountsservice-0.6.37/src/gdm-sysconfig.c + +out: + if (channel) { -+ g_io_channel_shutdown (channel, FALSE, NULL); ++ g_io_channel_shutdown (channel, TRUE, NULL); + g_io_channel_unref (channel); + } + diff --git a/accountsservice.changes b/accountsservice.changes index 720a45f..f617455 100644 --- a/accountsservice.changes +++ b/accountsservice.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Sun Sep 11 14:12:01 UTC 2016 - fezhang@suse.com + +- Update accountsservice-sysconfig.patch: + Flush the buffer before shut down the GIOChannel, otherwise we + get a truncated setting file. The problem has caused the + switching autologin in gnome-control-center breaking + /etc/sysconfig/displaymanager (bsc#998107). + ------------------------------------------------------------------- Wed Aug 24 08:14:06 UTC 2016 - fezhang@suse.com