Tor Lillqvist 02d9af3562 Bug 548988 - g_file_replace fails on Windows when the target file exists
2008-08-23  Tor Lillqvist  <tml@novell.com>

	Bug 548988 - g_file_replace fails on Windows when the target file
	exists already

	* glocalfileoutputstream.c (g_local_file_output_stream_close): On
	Windows, close the file before renaming it (in case we have been
	writing to a file with a temporary name).

	(g_local_file_output_stream_close, handle_overwrite_open): Use
	GLocalFileStat instead of plain struct stat, for passing to
	_g_local_file_info_create_etag(). Thus also use _fstati64()
	instead of plain fstat() on Windows.


svn path=/trunk/; revision=7388
2008-08-23 01:09:08 +00:00
..
2008-07-22 14:56:31 +00:00
2008-07-18 18:22:48 +00:00
2008-08-03 18:49:12 +00:00
2007-11-28 18:45:08 +00:00
2008-07-19 01:15:12 +00:00
2008-08-01 21:18:02 +00:00
2008-07-16 06:30:12 +00:00
2008-07-21 02:32:14 +00:00
2008-08-04 17:19:30 +00:00
2008-08-04 17:19:30 +00:00
2008-08-04 17:19:30 +00:00
2008-08-04 17:19:30 +00:00
2008-07-02 17:19:16 +00:00
2008-08-13 05:35:10 +00:00
2008-08-04 17:19:30 +00:00
2008-08-04 17:19:30 +00:00
2008-08-04 17:19:30 +00:00
2007-12-01 23:49:34 +00:00
2008-01-29 00:00:31 +00:00
2008-08-13 05:35:10 +00:00
2008-07-21 02:19:56 +00:00
2008-07-16 06:30:12 +00:00
2008-07-21 02:46:54 +00:00
2008-07-28 00:26:09 +00:00
2008-08-01 14:15:02 +00:00
2008-06-30 04:55:27 +00:00