diff options
author | Dan Winship <danw@src.gnome.org> | 2000-03-28 11:56:06 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2000-03-28 11:56:06 +0800 |
commit | b54a0e18c34a983b27122c89e0c9df6005443b20 (patch) | |
tree | ff6c6fd71a859281eabba273f39029b5d2a4d53b /camel | |
parent | 21e60e238477edd1ad157bd17024d5ea6395e048 (diff) | |
download | gsoc2013-evolution-b54a0e18c34a983b27122c89e0c9df6005443b20.tar.gz gsoc2013-evolution-b54a0e18c34a983b27122c89e0c9df6005443b20.tar.zst gsoc2013-evolution-b54a0e18c34a983b27122c89e0c9df6005443b20.zip |
uncomment the call to unlink the temp file: there's no way to tell
* 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.
svn path=/trunk/; revision=2206
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"); |