mldonkey-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mldonkey-users] GUI problems with 2.02-1


From: Tom Mraz
Subject: Re: [Mldonkey-users] GUI problems with 2.02-1
Date: Thu, 09 Jan 2003 20:44:47 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3a) Gecko/20021210


OK, the GUI uses now the set_locale, which changes the way
floating-point numbers are represented depending on the country... but
the ocaml runtime does not use it, so it does not understand the new
floating-point representation... I don't know how to solve that. Maybe
we should replace any , by a . in the string before float_of_string ?

Would it be enough ? Are you aware of any other changes between
notations of floats in different countries ?

- MLDonkey

The easiest workaround would be to add
setlocale(LC_NUMERIC, "C");
to sources.

Or before running the GUI - export LC_NUMERIC=C

Tom





reply via email to

[Prev in Thread] Current Thread [Next in Thread]