logo separator

[mkgmap-dev] Copyright & License file reader improvements

From Gerd Petermann GPetermann_muenchen at hotmail.com on Thu Dec 29 13:40:09 GMT 2016

Hi Mike,

if I got that right the original code ignores empty lines in the licence file, the patch doesn't.
Is that intended?
I have no idea what's better, so I'll wait for a comment from Steve.

Gerd
________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Mike Baggaley <mike at tvage.co.uk>
Gesendet: Donnerstag, 29. Dezember 2016 12:53:15
An: 'Development list for mkgmap'
Betreff: Re: [mkgmap-dev] Copyright & License file reader improvements

Hi Gerd, please find an updated patch for improvements to the copyright
reader. As discussed, this updates the documentation to say that the files
must be UTF-8 encoded, and improves the error message to give the cause of
the failure if the copyright or license file cannot be read.

The code for reading style files does not appear to specify UTF-8.

Please try and commit if happy.

Thanks,
Mike


More information about the mkgmap-dev mailing list