X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=blobdiff_plain;f=src%2Frrd_dump.c;h=3b7867f44551a7cd55ce8b745c2639c146816ea4;hp=57bd0b8d278f431b78bcbfabc7f122aff84e095e;hb=4dca5ee2d9ec2f43fec94911b5c4c00930051229;hpb=6a0490ebd1433e810f3f68a2493207a8bd882314 diff --git a/src/rrd_dump.c b/src/rrd_dump.c index 57bd0b8..3b7867f 100644 --- a/src/rrd_dump.c +++ b/src/rrd_dump.c @@ -45,9 +45,7 @@ #include "rrd_rpncalc.h" #include "rrd_client.h" -#ifdef HAVE_LOCALE_H #include -#endif #if !(defined(NETWARE) || defined(WIN32)) extern char *tzname[2]; @@ -105,9 +103,8 @@ int rrd_dump_cb_r( return (-1); } -#ifdef HAVE_SETLOCALE old_locale = setlocale(LC_NUMERIC, "C"); -#endif + if (opt_header == 1) { CB_PUTS("\n"); @@ -451,9 +448,7 @@ int rrd_dump_cb_r( rrd_free(&rrd); -#ifdef HAVE_SETLOCALE setlocale(LC_NUMERIC, old_locale); -#endif return rrd_close(rrd_file);