From a5bcf4fb3d8fbac4ee401d3c215b8d9e4ece2460 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Tue, 9 Apr 2002 00:59:46 +0000 Subject: Since bonobo doesn't seem to O_TRUNC the file stream before writing to it, 2002-04-08 Jeffrey Stedfast * mail-signature-editor.c (menu_file_save_cb): Since bonobo doesn't seem to O_TRUNC the file stream before writing to it, write to a temp file first and then rename() it to the real filename. This also protects against losing data if the drive is full too. Also use a real mode, not 0, so that we can actually save/read the content ;-) svn path=/trunk/; revision=16392 --- mail/ChangeLog | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'mail/ChangeLog') diff --git a/mail/ChangeLog b/mail/ChangeLog index 335d750bdd..26c20a77f8 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,5 +1,12 @@ 2002-04-08 Jeffrey Stedfast + * mail-signature-editor.c (menu_file_save_cb): Since bonobo + doesn't seem to O_TRUNC the file stream before writing to it, + write to a temp file first and then rename() it to the real + filename. This also protects against losing data if the drive is + full too. Also use a real mode, not 0, so that we can actually + save/read the content ;-) + * GNOME_Evolution_Mail.oaf.in: Re-added the config wizard interfaces. Ettore accidently removed them thinking they were duplicates of the new mail-config interfaces. -- cgit v1.2.3