From 75e84ec74f0eaf6ffd7d865478e170f084f2ff63 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Tue, 10 Sep 2002 21:39:56 +0000 Subject: Same as below. Also save errno before closing the file so our caller can 2002-09-10 Jeffrey Stedfast * camel-store-summary.c (camel_store_summary_load): Same as below. Also save errno before closing the file so our caller can figure out why we failed. (camel_store_summary_save): Same here, but also flush the output stream to disk. * camel-folder-summary.c (camel_folder_summary_load): s/fclose(in) == -1/fclose(in) != 0/ since fclose doesn't necessarily return -1 on fail, all we really know is that it returns 0 on success and non-zero on fail. * camel-certdb.c (camel_certdb_save): fsync() the stream after we fflush it. svn path=/trunk/; revision=18037 --- camel/ChangeLog | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'camel/ChangeLog') diff --git a/camel/ChangeLog b/camel/ChangeLog index 198d071934..bc9fc2b303 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,5 +1,19 @@ 2002-09-10 Jeffrey Stedfast + * camel-store-summary.c (camel_store_summary_load): Same as + below. Also save errno before closing the file so our caller can + figure out why we failed. + (camel_store_summary_save): Same here, but also flush the output + stream to disk. + + * camel-folder-summary.c (camel_folder_summary_load): s/fclose(in) + == -1/fclose(in) != 0/ since fclose doesn't necessarily return -1 + on fail, all we really know is that it returns 0 on success and + non-zero on fail. + + * camel-certdb.c (camel_certdb_save): fsync() the stream after we + fflush it. + * camel-folder-summary.c (perform_content_info_save): Do proper error checking and return -1 on fail. (camel_folder_summary_save): Check the return of -- cgit v1.2.3