]> git.tokkee.org Git - nagiosplug.git/commitdiff

Code

set LC_NUMERIC to POSIX in check_load (1164325)
authorM. Sean Finney <seanius@users.sourceforge.net>
Tue, 28 Jun 2005 02:26:18 +0000 (02:26 +0000)
committerM. Sean Finney <seanius@users.sourceforge.net>
Tue, 28 Jun 2005 02:26:18 +0000 (02:26 +0000)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1195 f882894a-f735-0410-b71e-b25c423dba1c

plugins/check_load.c

index 9625036d879d93d387907d455484da9ff7977458..21627feecf6a9e520098efa5bd8ecdb3bd59edc4 100644 (file)
@@ -100,6 +100,7 @@ main (int argc, char **argv)
        setlocale (LC_ALL, "");
        bindtextdomain (PACKAGE, LOCALEDIR);
        textdomain (PACKAGE);
+       setlocale(LC_NUMERIC, "POSIX");
 
        if (process_arguments (argc, argv) == ERROR)
                usage4 (_("Could not parse arguments"));