gconf r2715 - in trunk: . gconf
- From: halfline svn gnome org
- To: svn-commits-list gnome org
- Subject: gconf r2715 - in trunk: . gconf
- Date: Tue, 2 Dec 2008 16:14:55 +0000 (UTC)
Author: halfline
Date: Tue Dec 2 16:14:55 2008
New Revision: 2715
URL: http://svn.gnome.org/viewvc/gconf?rev=2715&view=rev
Log:
2008-12-02 Ray Strode <rstrode redhat com>
* gconf/gconfd.c: (logfile_save):
sync saved state file to disk before closing
(bug 562976)
Modified:
trunk/ChangeLog
trunk/gconf/gconfd.c
Modified: trunk/gconf/gconfd.c
==============================================================================
--- trunk/gconf/gconfd.c (original)
+++ trunk/gconf/gconfd.c Tue Dec 2 16:14:55 2008
@@ -1639,6 +1639,13 @@
goto out;
}
+ if (fdatasync (fd) < 0)
+ {
+ gconf_log (GCL_WARNING,
+ _("Could not flush saved state file '%s' to disk: %s"),
+ tmpfile, g_strerror (errno));
+ }
+
if (close (fd) < 0)
{
gconf_log (GCL_WARNING,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]