From 89495b81dd4939beea36ebeff600d4988c8870d9 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Fri, 19 Jul 1996 02:59:54 +0000 Subject: [PATCH] (main): Initialize for internationalized message support: call setlocale, bindtextdomain, and textdomain. Reported by Michel Robitaille . --- src/chgrp.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/chgrp.c b/src/chgrp.c index 7be402c..046f0e7 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)) -- 2.7.4