diff options
author | Jim Meyering <jim@meyering.net> | 1996-03-12 23:49:29 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1996-03-12 23:49:29 +0000 |
commit | 6fc4ae7a28f4603daee61672949835aa6e6059ff (patch) | |
tree | a4513c47f111bc79c4fc75875664350b2b951536 /src/stty.c | |
parent | 3f92a4421a7bba073bf58b5f6b85d59055a7766f (diff) | |
download | coreutils-6fc4ae7a28f4603daee61672949835aa6e6059ff.tar.gz coreutils-6fc4ae7a28f4603daee61672949835aa6e6059ff.tar.bz2 coreutils-6fc4ae7a28f4603daee61672949835aa6e6059ff.zip |
(main): Initialize for internationalized message support:
call setlocale, bindtextdomain, and textdomain.
Diffstat (limited to 'src/stty.c')
-rw-r--r-- | src/stty.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/stty.c b/src/stty.c index 72a6f1afe..e18e34bb3 100644 --- a/src/stty.c +++ b/src/stty.c @@ -650,6 +650,9 @@ main (int argc, char **argv) int k; program_name = argv[0]; + setlocale (LC_ALL, ""); + bindtextdomain (PACKAGE, LOCALEDIR); + textdomain (PACKAGE); parse_long_options (argc, argv, "stty", version_string, usage); |