<<< Date Index >>>     <<< Thread Index >>>

Re: mutt cache sensitivity



Hi,

* Kyle Wheeler [07-03-29 08:44:48 -0600] wrote:
On Thursday, March 29 at 12:33 PM, quoth Rocco Rutte:

Ideally, the tempfile resides in the final target directory to avoid lengthy buffer copies for large messages (e.g. you wait ages for a 50 MB message to download and then some more time of moving it from tmpdir to cache dir). If the tempfile is not in the target directory, we may get the same problem again when the user kills mutt during the tmpdir -> message_cachedir copy.

Why copy? Why not rename(), or better yet, link() & unlink()?

Because these work for files on the same filesystems only which isn't necessarily the case for tmpdir and message_cachedir.

  bye, Rocco
--
:wq!