diff -Naur --exclude '*.orig' nagios-plugins-1.4.13/plugins/check_by_ssh.c nagios-plugins-1.4.13-no-buggy-locales/plugins/check_by_ssh.c --- nagios-plugins-1.4.13/plugins/check_by_ssh.c 2008-05-27 23:31:13.000000000 +0200 +++ nagios-plugins-1.4.13-no-buggy-locales/plugins/check_by_ssh.c 2008-12-15 22:10:55.000000000 +0100 @@ -72,10 +72,6 @@ remotecmd = ""; comm = strdup (SSH_COMMAND); - setlocale (LC_ALL, ""); - bindtextdomain (PACKAGE, LOCALEDIR); - textdomain (PACKAGE); - /* Parse extra opts if any */ argv=np_extra_opts (&argc, argv, progname); diff -Naur --exclude '*.orig' nagios-plugins-1.4.13/plugins/check_cluster.c nagios-plugins-1.4.13-no-buggy-locales/plugins/check_cluster.c --- nagios-plugins-1.4.13/plugins/check_cluster.c 2008-05-07 12:02:42.000000000 +0200 +++ nagios-plugins-1.4.13-no-buggy-locales/plugins/check_cluster.c 2008-12-15 22:10:55.000000000 +0100 @@ -70,10 +70,6 @@ int return_code=STATE_OK; thresholds *thresholds = NULL; - setlocale (LC_ALL, ""); - bindtextdomain (PACKAGE, LOCALEDIR); - textdomain (PACKAGE); - /* Parse extra opts if any */ argv=np_extra_opts(&argc, argv, progname); diff -Naur --exclude '*.orig' nagios-plugins-1.4.13/plugins/check_dig.c nagios-plugins-1.4.13-no-buggy-locales/plugins/check_dig.c --- nagios-plugins-1.4.13/plugins/check_dig.c 2008-06-09 21:47:36.000000000 +0200 +++ nagios-plugins-1.4.13-no-buggy-locales/plugins/check_dig.c 2008-12-15 22:10:55.000000000 +0100 @@ -76,10 +76,6 @@ double elapsed_time; int result = STATE_UNKNOWN; - setlocale (LC_ALL, ""); - bindtextdomain (PACKAGE, LOCALEDIR); - textdomain (PACKAGE); - /* Set signal handling and alarm */ if (signal (SIGALRM, popen_timeout_alarm_handler) == SIG_ERR) usage_va(_("Cannot catch SIGALRM")); diff -Naur --exclude '*.orig' nagios-plugins-1.4.13/plugins/check_disk.c nagios-plugins-1.4.13-no-buggy-locales/plugins/check_disk.c --- nagios-plugins-1.4.13/plugins/check_disk.c 2008-07-10 12:03:55.000000000 +0200 +++ nagios-plugins-1.4.13-no-buggy-locales/plugins/check_disk.c 2008-12-15 22:10:56.000000000 +0100 @@ -186,10 +186,6 @@ perf = strdup (""); stat_buf = malloc(sizeof *stat_buf); - setlocale (LC_ALL, ""); - bindtextdomain (PACKAGE, LOCALEDIR); - textdomain (PACKAGE); - mount_list = read_file_system_list (0); /* Parse extra opts if any */ diff -Naur --exclude '*.orig' nagios-plugins-1.4.13/plugins/check_dns.c nagios-plugins-1.4.13-no-buggy-locales/plugins/check_dns.c --- nagios-plugins-1.4.13/plugins/check_dns.c 2008-05-13 11:14:45.000000000 +0200 +++ nagios-plugins-1.4.13-no-buggy-locales/plugins/check_dns.c 2008-12-15 22:10:56.000000000 +0100 @@ -90,10 +90,6 @@ output chld_out, chld_err; size_t i; - setlocale (LC_ALL, ""); - bindtextdomain (PACKAGE, LOCALEDIR); - textdomain (PACKAGE); - /* Set signal handling and alarm */ if (signal (SIGALRM, popen_timeout_alarm_handler) == SIG_ERR) { usage_va(_("Cannot catch SIGALRM")); diff -Naur --exclude '*.orig' nagios-plugins-1.4.13/plugins/check_dummy.c nagios-plugins-1.4.13-no-buggy-locales/plugins/check_dummy.c --- nagios-plugins-1.4.13/plugins/check_dummy.c 2008-04-27 16:35:26.000000000 +0200 +++ nagios-plugins-1.4.13-no-buggy-locales/plugins/check_dummy.c 2008-12-15 22:10:56.000000000 +0100 @@ -48,10 +48,6 @@ { int result = STATE_UNKNOWN; - setlocale (LC_ALL, ""); - bindtextdomain (PACKAGE, LOCALEDIR); - textdomain (PACKAGE); - if (argc < 2) usage4 (_("Could not parse arguments")); else if (strcmp (argv[1], "-V") == 0 || strcmp (argv[1], "--version") == 0) { diff -Naur --exclude '*.orig' nagios-plugins-1.4.13/plugins/check_fping.c nagios-plugins-1.4.13-no-buggy-locales/plugins/check_fping.c --- nagios-plugins-1.4.13/plugins/check_fping.c 2008-08-16 06:47:22.000000000 +0200 +++ nagios-plugins-1.4.13-no-buggy-locales/plugins/check_fping.c 2008-12-15 22:10:56.000000000 +0100 @@ -79,10 +79,6 @@ char *input_buffer = NULL; input_buffer = malloc (MAX_INPUT_BUFFER); - setlocale (LC_ALL, ""); - bindtextdomain (PACKAGE, LOCALEDIR); - textdomain (PACKAGE); - /* Parse extra opts if any */ argv=np_extra_opts (&argc, argv, progname); diff -Naur --exclude '*.orig' nagios-plugins-1.4.13/plugins/check_game.c nagios-plugins-1.4.13-no-buggy-locales/plugins/check_game.c --- nagios-plugins-1.4.13/plugins/check_game.c 2008-05-07 12:02:42.000000000 +0200 +++ nagios-plugins-1.4.13-no-buggy-locales/plugins/check_game.c 2008-12-15 22:10:57.000000000 +0100 @@ -75,10 +75,6 @@ size_t i = 0; output chld_out; - setlocale (LC_ALL, ""); - bindtextdomain (PACKAGE, LOCALEDIR); - textdomain (PACKAGE); - /* Parse extra opts if any */ argv=np_extra_opts (&argc, argv, progname); diff -Naur --exclude '*.orig' nagios-plugins-1.4.13/plugins/check_hpjd.c nagios-plugins-1.4.13-no-buggy-locales/plugins/check_hpjd.c --- nagios-plugins-1.4.13/plugins/check_hpjd.c 2008-05-07 12:02:42.000000000 +0200 +++ nagios-plugins-1.4.13-no-buggy-locales/plugins/check_hpjd.c 2008-12-15 22:10:57.000000000 +0100 @@ -96,10 +96,6 @@ errmsg = malloc(MAX_INPUT_BUFFER); - setlocale (LC_ALL, ""); - bindtextdomain (PACKAGE, LOCALEDIR); - textdomain (PACKAGE); - /* Parse extra opts if any */ argv=np_extra_opts (&argc, argv, progname); diff -Naur --exclude '*.orig' nagios-plugins-1.4.13/plugins/check_http.c nagios-plugins-1.4.13-no-buggy-locales/plugins/check_http.c --- nagios-plugins-1.4.13/plugins/check_http.c 2008-09-02 13:26:31.000000000 +0200 +++ nagios-plugins-1.4.13-no-buggy-locales/plugins/check_http.c 2008-12-15 22:10:57.000000000 +0100 @@ -137,10 +137,6 @@ { int result = STATE_UNKNOWN; - setlocale (LC_ALL, ""); - bindtextdomain (PACKAGE, LOCALEDIR); - textdomain (PACKAGE); - /* Set default URL. Must be malloced for subsequent realloc if --onredirect=follow */ server_url = strdup(HTTP_URL); server_url_length = strlen(server_url); diff -Naur --exclude '*.orig' nagios-plugins-1.4.13/plugins/check_ide_smart.c nagios-plugins-1.4.13-no-buggy-locales/plugins/check_ide_smart.c --- nagios-plugins-1.4.13/plugins/check_ide_smart.c 2008-05-07 12:02:42.000000000 +0200 +++ nagios-plugins-1.4.13-no-buggy-locales/plugins/check_ide_smart.c 2008-12-15 22:10:57.000000000 +0100 @@ -176,10 +176,6 @@ {"version", no_argument, 0, 'V'}, {0, 0, 0, 0} }; - setlocale (LC_ALL, ""); - bindtextdomain (PACKAGE, LOCALEDIR); - textdomain (PACKAGE); - while (1) { o = getopt_long (argc, argv, "+d:iq10nhV", longopts, &longindex); diff -Naur --exclude '*.orig' nagios-plugins-1.4.13/plugins/check_ldap.c nagios-plugins-1.4.13-no-buggy-locales/plugins/check_ldap.c --- nagios-plugins-1.4.13/plugins/check_ldap.c 2008-05-07 12:02:42.000000000 +0200 +++ nagios-plugins-1.4.13-no-buggy-locales/plugins/check_ldap.c 2008-12-15 22:10:57.000000000 +0100 @@ -97,10 +97,6 @@ int tls; int version=3; - setlocale (LC_ALL, ""); - bindtextdomain (PACKAGE, LOCALEDIR); - textdomain (PACKAGE); - if (strstr(argv[0],"check_ldaps")) { asprintf (&progname, "check_ldaps"); } diff -Naur --exclude '*.orig' nagios-plugins-1.4.13/plugins/check_load.c nagios-plugins-1.4.13-no-buggy-locales/plugins/check_load.c --- nagios-plugins-1.4.13/plugins/check_load.c 2008-05-07 12:02:42.000000000 +0200 +++ nagios-plugins-1.4.13-no-buggy-locales/plugins/check_load.c 2008-12-15 22:10:58.000000000 +0100 @@ -114,11 +114,6 @@ # endif #endif - setlocale (LC_ALL, ""); - bindtextdomain (PACKAGE, LOCALEDIR); - textdomain (PACKAGE); - setlocale(LC_NUMERIC, "POSIX"); - /* Parse extra opts if any */ argv = np_extra_opts (&argc, argv, progname); diff -Naur --exclude '*.orig' nagios-plugins-1.4.13/plugins/check_mrtg.c nagios-plugins-1.4.13-no-buggy-locales/plugins/check_mrtg.c --- nagios-plugins-1.4.13/plugins/check_mrtg.c 2008-05-07 12:02:42.000000000 +0200 +++ nagios-plugins-1.4.13-no-buggy-locales/plugins/check_mrtg.c 2008-12-15 22:10:58.000000000 +0100 @@ -68,10 +68,6 @@ unsigned long maximum_value_rate = 0L; unsigned long rate = 0L; - setlocale (LC_ALL, ""); - bindtextdomain (PACKAGE, LOCALEDIR); - textdomain (PACKAGE); - /* Parse extra opts if any */ argv=np_extra_opts (&argc, argv, progname); diff -Naur --exclude '*.orig' nagios-plugins-1.4.13/plugins/check_mrtgtraf.c nagios-plugins-1.4.13-no-buggy-locales/plugins/check_mrtgtraf.c --- nagios-plugins-1.4.13/plugins/check_mrtgtraf.c 2008-05-07 12:02:42.000000000 +0200 +++ nagios-plugins-1.4.13-no-buggy-locales/plugins/check_mrtgtraf.c 2008-12-15 22:10:58.000000000 +0100 @@ -76,10 +76,6 @@ char incoming_speed_rating[8]; char outgoing_speed_rating[8]; - setlocale (LC_ALL, ""); - bindtextdomain (PACKAGE, LOCALEDIR); - textdomain (PACKAGE); - /* Parse extra opts if any */ argv=np_extra_opts (&argc, argv, progname); diff -Naur --exclude '*.orig' nagios-plugins-1.4.13/plugins/check_mysql.c nagios-plugins-1.4.13-no-buggy-locales/plugins/check_mysql.c --- nagios-plugins-1.4.13/plugins/check_mysql.c 2008-08-16 06:47:32.000000000 +0200 +++ nagios-plugins-1.4.13-no-buggy-locales/plugins/check_mysql.c 2008-12-15 22:10:58.000000000 +0100 @@ -78,10 +78,6 @@ char *error = NULL; char slaveresult[SLAVERESULTSIZE]; - setlocale (LC_ALL, ""); - bindtextdomain (PACKAGE, LOCALEDIR); - textdomain (PACKAGE); - /* Parse extra opts if any */ argv=np_extra_opts (&argc, argv, progname); diff -Naur --exclude '*.orig' nagios-plugins-1.4.13/plugins/check_mysql_query.c nagios-plugins-1.4.13-no-buggy-locales/plugins/check_mysql_query.c --- nagios-plugins-1.4.13/plugins/check_mysql_query.c 2008-08-16 06:47:32.000000000 +0200 +++ nagios-plugins-1.4.13-no-buggy-locales/plugins/check_mysql_query.c 2008-12-15 22:10:59.000000000 +0100 @@ -74,10 +74,6 @@ char *error = NULL; int status; - setlocale (LC_ALL, ""); - bindtextdomain (PACKAGE, LOCALEDIR); - textdomain (PACKAGE); - /* Parse extra opts if any */ argv=np_extra_opts (&argc, argv, progname); diff -Naur --exclude '*.orig' nagios-plugins-1.4.13/plugins/check_nagios.c nagios-plugins-1.4.13-no-buggy-locales/plugins/check_nagios.c --- nagios-plugins-1.4.13/plugins/check_nagios.c 2008-05-07 12:02:42.000000000 +0200 +++ nagios-plugins-1.4.13-no-buggy-locales/plugins/check_nagios.c 2008-12-15 22:10:59.000000000 +0100 @@ -84,10 +84,6 @@ output chld_out, chld_err; size_t i; - setlocale (LC_ALL, ""); - bindtextdomain (PACKAGE, LOCALEDIR); - textdomain (PACKAGE); - /* Parse extra opts if any */ argv=np_extra_opts (&argc, argv, progname); diff -Naur --exclude '*.orig' nagios-plugins-1.4.13/plugins/check_nt.c nagios-plugins-1.4.13-no-buggy-locales/plugins/check_nt.c --- nagios-plugins-1.4.13/plugins/check_nt.c 2008-05-07 12:02:42.000000000 +0200 +++ nagios-plugins-1.4.13-no-buggy-locales/plugins/check_nt.c 2008-12-15 22:10:59.000000000 +0100 @@ -118,10 +118,6 @@ int isPercent = FALSE; int allRight = FALSE; - setlocale (LC_ALL, ""); - bindtextdomain (PACKAGE, LOCALEDIR); - textdomain (PACKAGE); - /* Parse extra opts if any */ argv=np_extra_opts (&argc, argv, progname); diff -Naur --exclude '*.orig' nagios-plugins-1.4.13/plugins/check_ntp.c nagios-plugins-1.4.13-no-buggy-locales/plugins/check_ntp.c --- nagios-plugins-1.4.13/plugins/check_ntp.c 2008-05-07 12:02:42.000000000 +0200 +++ nagios-plugins-1.4.13-no-buggy-locales/plugins/check_ntp.c 2008-12-15 22:10:59.000000000 +0100 @@ -757,10 +757,6 @@ double offset=0, jitter=0; char *result_line, *perfdata_line; - setlocale (LC_ALL, ""); - bindtextdomain (PACKAGE, LOCALEDIR); - textdomain (PACKAGE); - result = offset_result = jitter_result = STATE_OK; /* Parse extra opts if any */ diff -Naur --exclude '*.orig' nagios-plugins-1.4.13/plugins/check_ntp_peer.c nagios-plugins-1.4.13-no-buggy-locales/plugins/check_ntp_peer.c --- nagios-plugins-1.4.13/plugins/check_ntp_peer.c 2008-09-02 14:28:04.000000000 +0200 +++ nagios-plugins-1.4.13-no-buggy-locales/plugins/check_ntp_peer.c 2008-12-15 22:10:59.000000000 +0100 @@ -589,10 +589,6 @@ double offset=0, jitter=0; char *result_line, *perfdata_line; - setlocale (LC_ALL, ""); - bindtextdomain (PACKAGE, LOCALEDIR); - textdomain (PACKAGE); - /* Parse extra opts if any */ argv=np_extra_opts (&argc, argv, progname); diff -Naur --exclude '*.orig' nagios-plugins-1.4.13/plugins/check_ntp_time.c nagios-plugins-1.4.13-no-buggy-locales/plugins/check_ntp_time.c --- nagios-plugins-1.4.13/plugins/check_ntp_time.c 2008-09-01 16:04:22.000000000 +0200 +++ nagios-plugins-1.4.13-no-buggy-locales/plugins/check_ntp_time.c 2008-12-15 22:10:59.000000000 +0100 @@ -539,10 +539,6 @@ double offset=0; char *result_line, *perfdata_line; - setlocale (LC_ALL, ""); - bindtextdomain (PACKAGE, LOCALEDIR); - textdomain (PACKAGE); - result = offset_result = STATE_OK; /* Parse extra opts if any */ diff -Naur --exclude '*.orig' nagios-plugins-1.4.13/plugins/check_nwstat.c nagios-plugins-1.4.13-no-buggy-locales/plugins/check_nwstat.c --- nagios-plugins-1.4.13/plugins/check_nwstat.c 2008-05-07 12:02:42.000000000 +0200 +++ nagios-plugins-1.4.13-no-buggy-locales/plugins/check_nwstat.c 2008-12-15 22:10:59.000000000 +0100 @@ -166,10 +166,6 @@ unsigned long sap_entries=0; char uptime[MAX_INPUT_BUFFER]; - setlocale (LC_ALL, ""); - bindtextdomain (PACKAGE, LOCALEDIR); - textdomain (PACKAGE); - /* Parse extra opts if any */ argv=np_extra_opts(&argc, argv, progname); diff -Naur --exclude '*.orig' nagios-plugins-1.4.13/plugins/check_overcr.c nagios-plugins-1.4.13-no-buggy-locales/plugins/check_overcr.c --- nagios-plugins-1.4.13/plugins/check_overcr.c 2008-05-07 12:02:42.000000000 +0200 +++ nagios-plugins-1.4.13-no-buggy-locales/plugins/check_overcr.c 2008-12-15 22:10:59.000000000 +0100 @@ -95,10 +95,6 @@ int uptime_hours = 0; int uptime_minutes = 0; - setlocale (LC_ALL, ""); - bindtextdomain (PACKAGE, LOCALEDIR); - textdomain (PACKAGE); - /* Parse extra opts if any */ argv=np_extra_opts (&argc, argv, progname); diff -Naur --exclude '*.orig' nagios-plugins-1.4.13/plugins/check_pgsql.c nagios-plugins-1.4.13-no-buggy-locales/plugins/check_pgsql.c --- nagios-plugins-1.4.13/plugins/check_pgsql.c 2008-05-07 12:02:42.000000000 +0200 +++ nagios-plugins-1.4.13-no-buggy-locales/plugins/check_pgsql.c 2008-12-15 22:10:59.000000000 +0100 @@ -146,10 +146,6 @@ pgoptions = NULL; /* special options to start up the backend server */ pgtty = NULL; /* debugging tty for the backend server */ - setlocale (LC_ALL, ""); - bindtextdomain (PACKAGE, LOCALEDIR); - textdomain (PACKAGE); - /* Parse extra opts if any */ argv=np_extra_opts (&argc, argv, progname); diff -Naur --exclude '*.orig' nagios-plugins-1.4.13/plugins/check_ping.c nagios-plugins-1.4.13-no-buggy-locales/plugins/check_ping.c --- nagios-plugins-1.4.13/plugins/check_ping.c 2008-05-07 12:02:42.000000000 +0200 +++ nagios-plugins-1.4.13-no-buggy-locales/plugins/check_ping.c 2008-12-15 22:11:00.000000000 +0100 @@ -84,11 +84,6 @@ int this_result = STATE_UNKNOWN; int i; - setlocale (LC_ALL, ""); - setlocale (LC_NUMERIC, "C"); - bindtextdomain (PACKAGE, LOCALEDIR); - textdomain (PACKAGE); - addresses = malloc (sizeof(char*) * max_addr); addresses[0] = NULL; diff -Naur --exclude '*.orig' nagios-plugins-1.4.13/plugins/check_procs.c nagios-plugins-1.4.13-no-buggy-locales/plugins/check_procs.c --- nagios-plugins-1.4.13/plugins/check_procs.c 2008-07-08 11:31:04.000000000 +0200 +++ nagios-plugins-1.4.13-no-buggy-locales/plugins/check_procs.c 2008-12-15 22:11:00.000000000 +0100 @@ -133,11 +133,6 @@ int result = STATE_UNKNOWN; output chld_out, chld_err; - setlocale (LC_ALL, ""); - bindtextdomain (PACKAGE, LOCALEDIR); - textdomain (PACKAGE); - setlocale(LC_NUMERIC, "POSIX"); - input_buffer = malloc (MAX_INPUT_BUFFER); procprog = malloc (MAX_INPUT_BUFFER); diff -Naur --exclude '*.orig' nagios-plugins-1.4.13/plugins/check_radius.c nagios-plugins-1.4.13-no-buggy-locales/plugins/check_radius.c --- nagios-plugins-1.4.13/plugins/check_radius.c 2008-05-20 09:57:13.000000000 +0200 +++ nagios-plugins-1.4.13-no-buggy-locales/plugins/check_radius.c 2008-12-15 22:11:00.000000000 +0100 @@ -145,10 +145,6 @@ UINT4 client_id; char *str; - setlocale (LC_ALL, ""); - bindtextdomain (PACKAGE, LOCALEDIR); - textdomain (PACKAGE); - /* Parse extra opts if any */ argv=np_extra_opts (&argc, argv, progname); diff -Naur --exclude '*.orig' nagios-plugins-1.4.13/plugins/check_real.c nagios-plugins-1.4.13-no-buggy-locales/plugins/check_real.c --- nagios-plugins-1.4.13/plugins/check_real.c 2008-05-07 12:02:42.000000000 +0200 +++ nagios-plugins-1.4.13-no-buggy-locales/plugins/check_real.c 2008-12-15 22:11:00.000000000 +0100 @@ -73,10 +73,6 @@ char buffer[MAX_INPUT_BUFFER]; char *status_line = NULL; - setlocale (LC_ALL, ""); - bindtextdomain (PACKAGE, LOCALEDIR); - textdomain (PACKAGE); - /* Parse extra opts if any */ argv=np_extra_opts (&argc, argv, progname); diff -Naur --exclude '*.orig' nagios-plugins-1.4.13/plugins/check_smtp.c nagios-plugins-1.4.13-no-buggy-locales/plugins/check_smtp.c --- nagios-plugins-1.4.13/plugins/check_smtp.c 2008-05-07 12:02:42.000000000 +0200 +++ nagios-plugins-1.4.13-no-buggy-locales/plugins/check_smtp.c 2008-12-15 22:11:00.000000000 +0100 @@ -133,10 +133,6 @@ char *error_msg = ""; struct timeval tv; - setlocale (LC_ALL, ""); - bindtextdomain (PACKAGE, LOCALEDIR); - textdomain (PACKAGE); - /* Parse extra opts if any */ argv=np_extra_opts (&argc, argv, progname); diff -Naur --exclude '*.orig' nagios-plugins-1.4.13/plugins/check_snmp.c nagios-plugins-1.4.13-no-buggy-locales/plugins/check_snmp.c --- nagios-plugins-1.4.13/plugins/check_snmp.c 2008-07-09 23:53:12.000000000 +0200 +++ nagios-plugins-1.4.13-no-buggy-locales/plugins/check_snmp.c 2008-12-15 22:11:00.000000000 +0100 @@ -154,10 +154,6 @@ char *show = NULL; char type[8] = ""; - setlocale (LC_ALL, ""); - bindtextdomain (PACKAGE, LOCALEDIR); - textdomain (PACKAGE); - labels = malloc (labels_size); unitv = malloc (unitv_size); for (i = 0; i < MAX_OIDS; i++) diff -Naur --exclude '*.orig' nagios-plugins-1.4.13/plugins/check_ssh.c nagios-plugins-1.4.13-no-buggy-locales/plugins/check_ssh.c --- nagios-plugins-1.4.13/plugins/check_ssh.c 2008-05-07 12:02:42.000000000 +0200 +++ nagios-plugins-1.4.13-no-buggy-locales/plugins/check_ssh.c 2008-12-15 22:11:00.000000000 +0100 @@ -66,10 +66,6 @@ { int result = STATE_UNKNOWN; - setlocale (LC_ALL, ""); - bindtextdomain (PACKAGE, LOCALEDIR); - textdomain (PACKAGE); - /* Parse extra opts if any */ argv=np_extra_opts (&argc, argv, progname); diff -Naur --exclude '*.orig' nagios-plugins-1.4.13/plugins/check_swap.c nagios-plugins-1.4.13-no-buggy-locales/plugins/check_swap.c --- nagios-plugins-1.4.13/plugins/check_swap.c 2008-05-07 12:02:42.000000000 +0200 +++ nagios-plugins-1.4.13-no-buggy-locales/plugins/check_swap.c 2008-12-15 22:11:00.000000000 +0100 @@ -101,10 +101,6 @@ char str[32]; char *status; - setlocale (LC_ALL, ""); - bindtextdomain (PACKAGE, LOCALEDIR); - textdomain (PACKAGE); - status = strdup (""); /* Parse extra opts if any */ diff -Naur --exclude '*.orig' nagios-plugins-1.4.13/plugins/check_tcp.c nagios-plugins-1.4.13-no-buggy-locales/plugins/check_tcp.c --- nagios-plugins-1.4.13/plugins/check_tcp.c 2008-05-07 12:02:42.000000000 +0200 +++ nagios-plugins-1.4.13-no-buggy-locales/plugins/check_tcp.c 2008-12-15 22:11:00.000000000 +0100 @@ -102,10 +102,6 @@ size_t len; int match = -1; - setlocale (LC_ALL, ""); - bindtextdomain (PACKAGE, LOCALEDIR); - textdomain (PACKAGE); - /* determine program- and service-name quickly */ progname = strrchr(argv[0], '/'); if(progname != NULL) progname++; diff -Naur --exclude '*.orig' nagios-plugins-1.4.13/plugins/check_time.c nagios-plugins-1.4.13-no-buggy-locales/plugins/check_time.c --- nagios-plugins-1.4.13/plugins/check_time.c 2008-05-07 12:02:42.000000000 +0200 +++ nagios-plugins-1.4.13-no-buggy-locales/plugins/check_time.c 2008-12-15 22:11:00.000000000 +0100 @@ -71,10 +71,6 @@ int result = STATE_UNKNOWN; time_t conntime; - setlocale (LC_ALL, ""); - bindtextdomain (PACKAGE, LOCALEDIR); - textdomain (PACKAGE); - /* Parse extra opts if any */ argv=np_extra_opts (&argc, argv, progname); diff -Naur --exclude '*.orig' nagios-plugins-1.4.13/plugins/check_ups.c nagios-plugins-1.4.13-no-buggy-locales/plugins/check_ups.c --- nagios-plugins-1.4.13/plugins/check_ups.c 2008-07-10 12:03:43.000000000 +0200 +++ nagios-plugins-1.4.13-no-buggy-locales/plugins/check_ups.c 2008-12-15 22:11:00.000000000 +0100 @@ -111,10 +111,6 @@ double ups_utility_deviation = 0.0; int res; - setlocale (LC_ALL, ""); - bindtextdomain (PACKAGE, LOCALEDIR); - textdomain (PACKAGE); - ups_status = strdup ("N/A"); data = strdup (""); message = strdup (""); diff -Naur --exclude '*.orig' nagios-plugins-1.4.13/plugins/check_users.c nagios-plugins-1.4.13-no-buggy-locales/plugins/check_users.c --- nagios-plugins-1.4.13/plugins/check_users.c 2008-05-07 12:02:42.000000000 +0200 +++ nagios-plugins-1.4.13-no-buggy-locales/plugins/check_users.c 2008-12-15 22:11:01.000000000 +0100 @@ -59,10 +59,6 @@ char input_buffer[MAX_INPUT_BUFFER]; char *perf; - setlocale (LC_ALL, ""); - bindtextdomain (PACKAGE, LOCALEDIR); - textdomain (PACKAGE); - perf = strdup(""); /* Parse extra opts if any */ diff -Naur --exclude '*.orig' nagios-plugins-1.4.13/plugins/negate.c nagios-plugins-1.4.13-no-buggy-locales/plugins/negate.c --- nagios-plugins-1.4.13/plugins/negate.c 2008-05-02 11:28:15.000000000 +0200 +++ nagios-plugins-1.4.13-no-buggy-locales/plugins/negate.c 2008-12-15 22:11:01.000000000 +0100 @@ -67,10 +67,6 @@ output chld_out, chld_err; int i; - setlocale (LC_ALL, ""); - bindtextdomain (PACKAGE, LOCALEDIR); - textdomain (PACKAGE); - command_line = (char **) process_arguments (argc, argv); /* Set signal handling and alarm */ diff -Naur --exclude '*.orig' nagios-plugins-1.4.13/plugins/urlize.c nagios-plugins-1.4.13-no-buggy-locales/plugins/urlize.c --- nagios-plugins-1.4.13/plugins/urlize.c 2008-01-31 12:27:22.000000000 +0100 +++ nagios-plugins-1.4.13-no-buggy-locales/plugins/urlize.c 2008-12-15 22:11:01.000000000 +0100 @@ -67,10 +67,6 @@ {0, 0, 0, 0} }; - setlocale (LC_ALL, ""); - bindtextdomain (PACKAGE, LOCALEDIR); - textdomain (PACKAGE); - /* Need at least 2 args */ if (argc < 3) { print_help(); diff -Naur --exclude '*.orig' nagios-plugins-1.4.13/plugins-root/check_dhcp.c nagios-plugins-1.4.13-no-buggy-locales/plugins-root/check_dhcp.c --- nagios-plugins-1.4.13/plugins-root/check_dhcp.c 2008-07-06 14:57:11.000000000 +0200 +++ nagios-plugins-1.4.13-no-buggy-locales/plugins-root/check_dhcp.c 2008-12-15 22:11:01.000000000 +0100 @@ -263,10 +263,6 @@ int dhcp_socket; int result = STATE_UNKNOWN; - setlocale (LC_ALL, ""); - bindtextdomain (PACKAGE, LOCALEDIR); - textdomain (PACKAGE); - /* Parse extra opts if any */ argv=np_extra_opts(&argc, argv, progname); diff -Naur --exclude '*.orig' nagios-plugins-1.4.13/plugins-root/check_icmp.c nagios-plugins-1.4.13-no-buggy-locales/plugins-root/check_icmp.c --- nagios-plugins-1.4.13/plugins-root/check_icmp.c 2008-08-08 04:08:08.000000000 +0200 +++ nagios-plugins-1.4.13-no-buggy-locales/plugins-root/check_icmp.c 2008-12-15 22:11:01.000000000 +0100 @@ -377,10 +377,6 @@ int result; struct rta_host *host; - setlocale (LC_ALL, ""); - bindtextdomain (PACKAGE, LOCALEDIR); - textdomain (PACKAGE); - /* print a helpful error message if geteuid != 0 */ np_warn_if_not_root();