Flush file after writing header length fixups, to ensure it's written

This commit is contained in:
baldurk
2017-11-27 12:38:44 +00:00
parent 2f2795bbba
commit b418a5db6a
+2
View File
@@ -1092,6 +1092,8 @@ StreamWriter *RDCFile::WriteSection(const SectionProperties &props)
{
RETURNERROR(ContainerError::FileIO, "Error applying fixup to section header, errno %d", errno);
}
FileIO::fflush(m_File);
});
if(modifySectionCallback)