logo separator

[mkgmap-dev] mkgmap minor bug: TYP file is opened in readwrite mode

From Mark Burton markb at ordern.com on Sat Oct 10 15:54:31 BST 2009

Hi Andre,

> I just accidentally found an issue in mkgmap. When creating a
> gmapsupp.img with a TYP file, mkgmap throws an exception if this file is
> readonly. When the TYP file is writable, this exception is not thrown.
> But I think, that mkgmap should never write to a TYP file, should it?

The attached patch should solve this issue.

Steve, shall I commit this?

Cheers,

Mark

-------------- next part --------------
A non-text attachment was scrubbed...
Name: mb-add-ro-file-fix-v1.patch
Type: text/x-patch
Size: 1391 bytes
Desc: not available
Url : http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20091010/cb6af004/attachment.bin 


More information about the mkgmap-dev mailing list