diff options
author | Jim Meyering <jim@meyering.net> | 1996-12-08 04:24:35 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1996-12-08 04:24:35 +0000 |
commit | acc8601b656748034c91927ad5ad5efee792818e (patch) | |
tree | eae7588661b4bfbfccd9869f39f90bc05318c5f3 /src | |
parent | 8dd5415e02076c529eac018cb221b8f9552bf981 (diff) | |
download | coreutils-acc8601b656748034c91927ad5ad5efee792818e.tar.xz |
(main): Call setlocale, bindtextdomain, and textdomain.
From Michel Robitaille.
Diffstat (limited to 'src')
-rw-r--r-- | src/chroot.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/chroot.c b/src/chroot.c index dbd94c1fb..a17fb0b87 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); |