From: Jim Meyering Date: Sun, 8 Dec 1996 04:24:35 +0000 (+0000) Subject: (main): Call setlocale, bindtextdomain, and textdomain. X-Git-Tag: TEXTUTILS-1_19q~9 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=acc8601b656748034c91927ad5ad5efee792818e;p=thirdparty%2Fcoreutils.git (main): Call setlocale, bindtextdomain, and textdomain. From Michel Robitaille. --- diff --git a/src/chroot.c b/src/chroot.c index dbd94c1fba..a17fb0b872 100644 --- a/src/chroot.c +++ b/src/chroot.c @@ -57,6 +57,9 @@ int main (int argc, char **argv) { program_name = argv[0]; + setlocale (LC_ALL, ""); + bindtextdomain (PACKAGE, LOCALEDIR); + textdomain (PACKAGE); parse_long_options (argc, argv, "chroot", GNU_PACKAGE, VERSION, usage);