Use ::flush() (aka fsync()) after a maildir message is written (Georg Sauthoff).
This commit is contained in:
parent
9bd54d3e47
commit
6e1acbf794
@ -945,6 +945,8 @@ void maildirFolder::copyMessageImpl(const utility::file::path& tmpDirPath,
|
||||
if (progress)
|
||||
progress->progress(total, size);
|
||||
}
|
||||
|
||||
os->flush();
|
||||
}
|
||||
catch (exception& e)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user