From: Jim Meyering Date: Fri, 19 Jul 1996 02:59:54 +0000 (+0000) Subject: (main): Initialize for internationalized message support: X-Git-Tag: TEXTUTILS-1_19b~140 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=89495b81dd4939beea36ebeff600d4988c8870d9;p=thirdparty%2Fcoreutils.git (main): Initialize for internationalized message support: call setlocale, bindtextdomain, and textdomain. Reported by Michel Robitaille . --- diff --git a/src/chgrp.c b/src/chgrp.c index 7be402ca45..046f0e7fd3 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))