[PATCH] Different system locale settings cause the export to crash

Gehad gehadelrobey at gmail.com
Sat Apr 5 12:03:54 PDT 2014


On 2014-04-05 20:17, Linus Torvalds wrote:
> Oh. Please don't do that. Just fix the printing of the
> latitude/longitude. %f is wrong, wrong, wrong, for this and other
> reasons. We try to avoid floating point in subsurface for a reason.
>
> See (for example) save-git.c: put_degrees()/show_gps() on how to do it right.
>
>               Linus

I was ignorant of the %f problem.
I fixed the patch, Is this right ?

-- 
Regards,
Gehad Elrobey

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fixing-the-printing-of-lat-lon-in-worldmap-exporter.patch
Type: text/x-patch
Size: 1767 bytes
Desc: not available
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20140405/718a71cc/attachment.bin>


More information about the subsurface mailing list