diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-09-24 15:35:39 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-09-24 15:35:39 +0100 |
commit | c269a27b85bf3a4a02157057fd73362bd805f262 (patch) | |
tree | 17c98275bc132c5a7b0d0651101455c6c924629e /src/libutil/util.c | |
parent | 157bb592f4805f8eda772cd433fae7541d7df25c (diff) | |
download | rspamd-c269a27b85bf3a4a02157057fd73362bd805f262.tar.gz rspamd-c269a27b85bf3a4a02157057fd73362bd805f262.zip |
Set C locale for numeric values.
Diffstat (limited to 'src/libutil/util.c')
-rw-r--r-- | src/libutil/util.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libutil/util.c b/src/libutil/util.c index 11e3248ac..506940171 100644 --- a/src/libutil/util.c +++ b/src/libutil/util.c @@ -1933,6 +1933,8 @@ rspamd_init_libs (void) else { /* Just set the default locale */ setlocale (LC_ALL, ""); + /* But for some issues we still want C locale */ + setlocale (LC_NUMERIC, "C"); } #endif |