Code

set LC_NUMERIC to POSIX in check_procs.c
authorM. Sean Finney <seanius@users.sourceforge.net>
Fri, 17 Feb 2006 06:24:53 +0000 (06:24 +0000)
committerM. Sean Finney <seanius@users.sourceforge.net>
Fri, 17 Feb 2006 06:24:53 +0000 (06:24 +0000)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1316 f882894a-f735-0410-b71e-b25c423dba1c

plugins/check_procs.c

index 3f40e087c51ed6f4c92131deb62498a1d9d896f0..b866ac2cae1c98b4e92f9a6a885589a07b411053 100644 (file)
@@ -116,6 +116,7 @@ main (int argc, char **argv)
        setlocale (LC_ALL, "");
        bindtextdomain (PACKAGE, LOCALEDIR);
        textdomain (PACKAGE);
+       setlocale(LC_NUMERIC, "POSIX");
 
        input_buffer = malloc (MAX_INPUT_BUFFER);
        procprog = malloc (MAX_INPUT_BUFFER);