logo separator

[mkgmap-dev] Commit: r669: The sync method was a bad idea for net and nod.

From Apache apache at lachesis.vm.bytemark.co.uk on Mon Aug 25 00:15:13 BST 2008

Version 669 was commited by steve on 2008-08-25 00:15:13 +0100 (Mon, 25 Aug 2008)

The sync method was a bad idea for net and nod.

We need to separate writing into two phases and
control the order that these phases are written in.

So:
1. Make sync just write the buffers to the disk.
2. Add write and writePost() methods to control the different phases.

Verified that you get the same result file on trunk.



More information about the mkgmap-dev mailing list