diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/accessdb.c | 2 | ||||
-rw-r--r-- | src/catman.c | 2 | ||||
-rw-r--r-- | src/globbing_test.c | 2 | ||||
-rw-r--r-- | src/lexgrog_test.c | 2 | ||||
-rw-r--r-- | src/man.c | 2 | ||||
-rw-r--r-- | src/manconv_main.c | 2 | ||||
-rw-r--r-- | src/mandb.c | 2 | ||||
-rw-r--r-- | src/manpath.c | 2 | ||||
-rw-r--r-- | src/whatis.c | 2 | ||||
-rw-r--r-- | src/zsoelim_main.c | 2 |
10 files changed, 10 insertions, 10 deletions
diff --git a/src/accessdb.c b/src/accessdb.c index 47d7ae3c..8b3a9ce6 100644 --- a/src/accessdb.c +++ b/src/accessdb.c @@ -111,7 +111,7 @@ int main (int argc, char *argv[]) program_name = base_name (argv[0]); init_debug (); - init_locale (LC_ALL, ""); + init_locale (); if (is_directory (FHS_CAT_ROOT) == 1) cat_root = FHS_CAT_ROOT; diff --git a/src/catman.c b/src/catman.c index f1ba9c15..b0bda9a1 100644 --- a/src/catman.c +++ b/src/catman.c @@ -413,7 +413,7 @@ int main (int argc, char *argv[]) init_debug (); - locale = xstrdup (init_locale (LC_ALL, "")); + locale = xstrdup (init_locale ()); if (!locale) locale = xstrdup ("C"); diff --git a/src/globbing_test.c b/src/globbing_test.c index 9bd80b63..31f8ffb4 100644 --- a/src/globbing_test.c +++ b/src/globbing_test.c @@ -108,7 +108,7 @@ int main (int argc, char **argv) program_name = base_name (argv[0]); init_debug (); - init_locale (LC_ALL, ""); + init_locale (); if (argp_parse (&argp, argc, argv, 0, 0, 0)) exit (FAIL); diff --git a/src/lexgrog_test.c b/src/lexgrog_test.c index b1fe573d..1a667cfa 100644 --- a/src/lexgrog_test.c +++ b/src/lexgrog_test.c @@ -137,7 +137,7 @@ int main (int argc, char **argv) init_debug (); pipeline_install_post_fork (pop_all_cleanups); - init_locale (LC_ALL, ""); + init_locale (); if (argp_parse (&argp, argc, argv, 0, 0, 0)) exit (FAIL); @@ -982,7 +982,7 @@ int main (int argc, char *argv[]) pipeline_install_post_fork (pop_all_cleanups); umask (022); - init_locale (LC_ALL, ""); + init_locale (); internal_locale = setlocale (LC_MESSAGES, NULL); /* Use LANGUAGE only when LC_MESSAGES locale category is diff --git a/src/manconv_main.c b/src/manconv_main.c index 0c977b26..166a2b84 100644 --- a/src/manconv_main.c +++ b/src/manconv_main.c @@ -154,7 +154,7 @@ int main (int argc, char *argv[]) init_debug (); pipeline_install_post_fork (pop_all_cleanups); - init_locale (LC_ALL, ""); + init_locale (); if (argp_parse (&argp, argc, argv, 0, 0, 0)) exit (FAIL); diff --git a/src/mandb.c b/src/mandb.c index c89de8c7..d3a849d8 100644 --- a/src/mandb.c +++ b/src/mandb.c @@ -580,7 +580,7 @@ int main (int argc, char *argv[]) init_debug (); pipeline_install_post_fork (pop_all_cleanups); - init_locale (LC_ALL, ""); + init_locale (); if (argp_parse (&argp, argc, argv, 0, 0, 0)) exit (FAIL); diff --git a/src/manpath.c b/src/manpath.c index ff70a4f4..d4579d3a 100644 --- a/src/manpath.c +++ b/src/manpath.c @@ -112,7 +112,7 @@ int main (int argc, char *argv[]) program_name = base_name (argv[0]); init_debug (); - init_locale (LC_ALL, ""); + init_locale (); if (argp_parse (&argp, argc, argv, 0, 0, 0)) exit (FAIL); diff --git a/src/whatis.c b/src/whatis.c index 424e274a..acc5a7df 100644 --- a/src/whatis.c +++ b/src/whatis.c @@ -704,7 +704,7 @@ int main (int argc, char *argv[]) init_debug (); pipeline_install_post_fork (pop_all_cleanups); - init_locale (LC_ALL, ""); + init_locale (); internal_locale = setlocale (LC_MESSAGES, NULL); /* Use LANGUAGE only when LC_MESSAGES locale category is diff --git a/src/zsoelim_main.c b/src/zsoelim_main.c index 3596486b..9d09116a 100644 --- a/src/zsoelim_main.c +++ b/src/zsoelim_main.c @@ -99,7 +99,7 @@ int main (int argc, char *argv[]) init_debug (); pipeline_install_post_fork (pop_all_cleanups); - init_locale (LC_ALL, ""); + init_locale (); if (argp_parse (&argp, argc, argv, 0, 0, 0)) exit (FAIL); |