summaryrefslogtreecommitdiff
path: root/src/chgrp.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1996-07-19 02:59:54 +0000
committerJim Meyering <jim@meyering.net>1996-07-19 02:59:54 +0000
commit89495b81dd4939beea36ebeff600d4988c8870d9 (patch)
tree19520cd89b2a6f8e01e86d9320a035cd7bc92798 /src/chgrp.c
parenta5c67e1c059a4bba5dcda6a3175acb700d7df976 (diff)
downloadcoreutils-89495b81dd4939beea36ebeff600d4988c8870d9.tar.xz
(main): Initialize for internationalized message support:
call setlocale, bindtextdomain, and textdomain. Reported by Michel Robitaille <robitail@IRO.UMontreal.CA>.
Diffstat (limited to 'src/chgrp.c')
-rw-r--r--src/chgrp.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/chgrp.c b/src/chgrp.c
index 7be402ca4..046f0e7fd 100644
--- a/src/chgrp.c
+++ b/src/chgrp.c
@@ -292,6 +292,10 @@ main (int argc, char **argv)
int optc;
program_name = argv[0];
+ setlocale (LC_ALL, "");
+ bindtextdomain (PACKAGE, LOCALEDIR);
+ textdomain (PACKAGE);
+
recurse = force_silent = verbose = changes_only = 0;
while ((optc = getopt_long (argc, argv, "Rcfnv", long_options, (int *) 0))