Alexander Larsson 6cff88ba18 Bug 575555 – Use fsync() when replacing files to avoid data loss on
2009-03-16  Alexander Larsson  <alexl@redhat.com>

	Bug 575555 – Use fsync() when replacing files to avoid data loss on crash

        * configure.in:
	Look for fsync().

        * glib/gfileutils.c:
        (write_to_temp_file):
	fsync temp file if destination file exists

2009-03-16  Alexander Larsson  <alexl@redhat.com>

	Bug 575555 – Use fsync() when replacing files to avoid data loss on crash

        * glocalfileoutputstream.c:
        (g_local_file_output_stream_close):
        (_g_local_file_output_stream_replace):
	fsync temp file before closing if replacing target file

	

svn path=/trunk/; revision=7991
2009-03-16 16:03:13 +00:00
..
2009-01-18 06:32:03 +00:00
2009-01-05 14:56:55 +00:00
2008-12-31 05:51:47 +00:00
2008-02-23 05:06:18 +00:00
2008-12-31 05:51:47 +00:00
2009-01-20 17:05:26 +00:00
2009-01-18 06:44:04 +00:00
2008-06-15 00:03:54 +00:00
2008-12-31 05:51:47 +00:00
2008-08-01 18:30:37 +00:00
2008-06-16 16:41:01 +00:00
2008-12-31 05:51:47 +00:00
2008-12-31 05:51:47 +00:00
2008-09-23 18:56:31 +00:00
2008-06-12 03:55:32 +00:00
2008-12-31 05:51:47 +00:00
2007-08-20 23:34:35 +00:00
2008-07-28 16:52:15 +00:00
2008-10-10 04:54:51 +00:00
2008-03-10 16:50:13 +00:00
2008-12-31 05:51:47 +00:00
2009-01-19 07:01:57 +00:00
2009-01-13 02:24:46 +00:00
2009-03-01 17:00:21 +00:00
2008-10-07 18:52:18 +00:00
2008-08-05 01:23:16 +00:00
2008-06-22 16:32:18 +00:00
2009-02-23 14:38:20 +00:00
2008-12-13 23:56:05 +00:00