Added modification time to zip.

* it is required to consider archive valid (by some tools)
This commit is contained in:
AlexVinS authored and AlexVinS committed 2015-12-05 12:06:49 +03:00
1 parent f6e2cd16ed
commit b683c29b6e
2 files changed
+19 -3

No files matched your search

+2
View File
@@ -68,6 +68,8 @@ BOOST_AUTO_TEST_CASE(CMapFormatVCMI_Simple)
boost::filesystem::remove(path);
boost::filesystem::ofstream tmp(path);
tmp.write((const char *)serializeBuffer.getBuffer().data(),serializeBuffer.getSize());
tmp.flush();
tmp.close();
}