diff options
Diffstat (limited to 'camel')
-rw-r--r-- | camel/ChangeLog | 5 | ||||
-rw-r--r-- | camel/providers/mbox/camel-mbox-folder.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog index 3d6877ee11..4ce430fe5f 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,5 +1,10 @@ 2000-03-27 Dan Winship <danw@helixcode.com> + * providers/mbox/camel-mbox-folder.c (_append_message): uncomment + the call to unlink the temp file: there's no way to tell + camel_stream_fs to truncate a file, so reusing the same file was + resulting in junk at the ends of messages. + * camel-folder.[ch]: add delete_message_by_{number,uid}. * providers/pop3/camel-pop3-folder.[ch]: implement diff --git a/camel/providers/mbox/camel-mbox-folder.c b/camel/providers/mbox/camel-mbox-folder.c index faf6bd57cd..2dbbc32a86 100644 --- a/camel/providers/mbox/camel-mbox-folder.c +++ b/camel/providers/mbox/camel-mbox-folder.c @@ -946,7 +946,7 @@ _append_message (CamelFolder *folder, CamelMimeMessage *message, CamelException close (fd2); /* remove the temporary file */ - //unlink (tmp_message_filename); + unlink (tmp_message_filename); g_free (tmp_message_filename); CAMEL_LOG_FULL_DEBUG ("Leaving CamelMboxFolder::append_message\n"); |