[maemo-commits] [maemo-commits] r17361 - in projects/haf/trunk/gconf2: . backends debian

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Fri Feb 6 10:01:33 EET 2009
Author: richard
Date: 2009-02-06 10:01:31 +0200 (Fri, 06 Feb 2009)
New Revision: 17361

Modified:
   projects/haf/trunk/gconf2/ChangeLog
   projects/haf/trunk/gconf2/backends/markup-tree.c
   projects/haf/trunk/gconf2/debian/changelog
Log:
NB#93028

Modified: projects/haf/trunk/gconf2/ChangeLog
===================================================================
--- projects/haf/trunk/gconf2/ChangeLog	2009-02-05 12:05:21 UTC (rev 17360)
+++ projects/haf/trunk/gconf2/ChangeLog	2009-02-06 08:01:31 UTC (rev 17361)
@@ -1,3 +1,8 @@
+2009-02-06  Richard Hult  <richard at imendio.com>
+
+	* backends/markup-tree.c (save_tree_with_locale): Also fflush()
+	the stream before syncing.
+
 2008-12-03  Richard Hult  <richard at imendio.com>
 
 	* backends/markup-tree.c (save_tree_with_locale): Use fdatasync to

Modified: projects/haf/trunk/gconf2/backends/markup-tree.c
===================================================================
--- projects/haf/trunk/gconf2/backends/markup-tree.c	2009-02-05 12:05:21 UTC (rev 17360)
+++ projects/haf/trunk/gconf2/backends/markup-tree.c	2009-02-06 08:01:31 UTC (rev 17361)
@@ -4465,6 +4465,7 @@
       goto done_writing;
     }
 
+  fflush (f);
   if (fdatasync (fileno (f)) < 0)
     {
       gconf_log (GCL_WARNING,

Modified: projects/haf/trunk/gconf2/debian/changelog
===================================================================
--- projects/haf/trunk/gconf2/debian/changelog	2009-02-05 12:05:21 UTC (rev 17360)
+++ projects/haf/trunk/gconf2/debian/changelog	2009-02-06 08:01:31 UTC (rev 17361)
@@ -1,3 +1,9 @@
+gconf2 (2.16.0-2osso4) unstable; urgency=low
+
+  * NB#93028, GConf loses existing values when setting value and powering off
+
+ -- Richard Hult <richard at imendio.com>  Fri,  6 Feb 2009 08:54:00 +0100
+
 gconf2 (2.16.0-2osso3) unstable; urgency=low
 
   * NB#98917, Gconf needs updating its shutdown script because pidof changed


More information about the maemo-commits mailing list