aboutsummaryrefslogtreecommitdiffstats
path: root/src/factor.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1996-03-12 23:49:29 +0000
committerJim Meyering <jim@meyering.net>1996-03-12 23:49:29 +0000
commit6fc4ae7a28f4603daee61672949835aa6e6059ff (patch)
treea4513c47f111bc79c4fc75875664350b2b951536 /src/factor.c
parent. (diff)
downloadcoreutils-6fc4ae7a28f4603daee61672949835aa6e6059ff.tar.gz
coreutils-6fc4ae7a28f4603daee61672949835aa6e6059ff.zip
(main): Initialize for internationalized message support:
call setlocale, bindtextdomain, and textdomain.
Diffstat (limited to 'src/factor.c')
-rw-r--r--src/factor.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/factor.c b/src/factor.c
index 816b26688..11251244c 100644
--- a/src/factor.c
+++ b/src/factor.c
@@ -174,6 +174,9 @@ main (int argc, char **argv)
int fail;
program_name = argv[0];
+ setlocale (LC_ALL, "");
+ bindtextdomain (PACKAGE, LOCALEDIR);
+ textdomain (PACKAGE);
parse_long_options (argc, argv, "factor", version_string, usage);