bug-recutils
[Top][All Lists]
Advanced

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

Re: [bug-recutils] Locale issues [was: Comparison operator on reals fail


From: Jose E. Marchesi
Subject: Re: [bug-recutils] Locale issues [was: Comparison operator on reals fails]
Date: Tue, 14 Aug 2012 14:24:51 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux)

        * There should be something about this in the user manual.
    
    We must temporarily change the locale to LC_ALL before using strtod, in
    order to make it using a fixed syntax for real numbers, i.e. the dot
    separates mantissa from decimal part.

I pushed a patch changing LC_NUMERIC before calling strtod and restoring
it after the call to whatever is configured in the environment.

-- 
Jose E. Marchesi         http://www.jemarch.net
GNU Project              http://www.gnu.org



reply via email to

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