evolution-data-server r7812 - trunk/camel/providers/local

Author: fejj
Date: 2007-06-06 22:06:41 +0100 (Wed, 06 Jun 2007)
New Revision: 7812
ViewCVS link: http://svn.gnome.org/viewcvs/evolution-data-server?rev=7812&view=rev

2007-06-06  Jeffrey Stedfast  <fejj novell com>

	Robustness fix while making sure the code would properly handle
	disk-full problems.

	* camel-mbox-folder.c (mbox_append_message): Open the mbox w/
	O_LARGEFILE so that we support large files. After writing the
	message to the mbox, check camel_stream_flush() for error instead
	of camel_stream_close() so that we can continue re-using the same
	fd for ftruncate (we want to avoid having to re-open the file as
	it may not succeed). Also, ftruncate() can get EINTR, so loop.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]