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
..
2008-07-18 18:22:48 +00:00
2009-01-09 05:19:17 +00:00
2007-11-28 18:45:08 +00:00
2009-01-19 07:05:07 +00:00
2009-03-01 17:12:58 +00:00
2008-12-12 20:59:54 +00:00
2008-08-13 05:35:10 +00:00
2009-02-17 06:32:44 +00:00
2009-03-02 05:07:21 +00:00
2007-12-01 23:49:34 +00:00
2009-02-27 21:02:19 +00:00
2008-08-13 05:35:10 +00:00
2008-09-08 12:44:07 +00:00
2008-09-08 12:44:07 +00:00
2008-07-21 02:19:56 +00:00
2008-09-04 20:41:50 +00:00
2008-08-01 14:15:02 +00:00
2008-12-13 23:56:05 +00:00