[Gluster-devel] Locale problem in master

Pranith Kumar Karampuri pkarampu at redhat.com
Mon Jul 7 16:57:24 UTC 2014


Including Bala who is the author of the commit

Pranith
On 07/07/2014 10:18 PM, Anders Blomdell wrote:
> Due to the line (commit 040319d8bced2f25bf25d8f6b937901c3a40e34b):
>
>    ./libglusterfs/src/logging.c:503:        setlocale(LC_ALL, "");
>
> The command
>
>    env -i LC_NUMERIC=sv_SE.utf8 /usr/sbin/glusterfs ...
>
> will fail due to the fact that the swedish decimal separator is not '.', but ',',
> i.e. _gf_string2double will fail due to strtod ('1.0', &tail) will give the tail
> '.0'.
>
> /Anders
>



More information about the Gluster-devel mailing list