[collectd-changes] collectd, the system statistics collection daemon: Changes to 'master'

Florian Forster octo at verplant.org
Thu Sep 18 07:32:05 CEST 2014


 configure.ac   |    4 ++--
 src/collectd.c |   17 +++++++++++++++--
 2 files changed, 17 insertions(+), 4 deletions(-)

New commits:
commit 2578c91335381de7cf1da589f8993e775483319e
Author: Florian Forster <octo at google.com>
Date:   Wed Sep 17 10:52:36 2014 +0200

    src/collectd.c: Set the LC_NUMERIC locale to "C".
    
    When using ASCII protocols, such as the Graphite protocol, doubles are
    converted to strings using sprintf(3) and parsed with strtod(3). If the
    effective locale uses something different from a dot (".") as the
    decimal separator (e.g. Portuguese, German), this breaks.
    
    This patch sets the LC_NUMERIC locale to "C" on start-up, so that
    strings are produced and parsed in a well-defined manner.
    
    Fixes: #512




More information about the collectd-changes mailing list