Use ::flush() (aka fsync()) after a maildir message is written (Georg Sauthoff).

This commit is contained in:
Vincent Richard 2009-06-21 21:08:56 +00:00
parent 9bd54d3e47
commit 6e1acbf794

View File

@ -945,6 +945,8 @@ void maildirFolder::copyMessageImpl(const utility::file::path& tmpDirPath,
if (progress)
progress->progress(total, size);
}
os->flush();
}
catch (exception& e)
{