Re: Locale problem in master

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

 



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


_______________________________________________
Gluster-devel mailing list
Gluster-devel@xxxxxxxxxxx
http://supercolony.gluster.org/mailman/listinfo/gluster-devel




[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux