diff options
author | Jim Meyering <jim@meyering.net> | 1996-03-09 20:19:13 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1996-03-09 20:19:13 +0000 |
commit | 715765a5487d2e37c4d48e216e6958883db6a41f (patch) | |
tree | 05d3a6daffcd9629e21fb275fe387e06dc3ba440 /src/fold.c | |
parent | de0fdbb080e3902f2a6d4ee795b6322565df424b (diff) | |
download | coreutils-715765a5487d2e37c4d48e216e6958883db6a41f.tar.xz |
(main): Initialize for internationalized message support: call setlocale,
bindtextdomain, and textdomain.
Diffstat (limited to 'src/fold.c')
-rw-r--r-- | src/fold.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/fold.c b/src/fold.c index c0d02423b..a23b637c8 100644 --- a/src/fold.c +++ b/src/fold.c @@ -255,6 +255,10 @@ main (int argc, char **argv) int errs = 0; program_name = argv[0]; + setlocale (LC_ALL, ""); + bindtextdomain (PACKAGE, LOCALEDIR); + textdomain (PACKAGE); + break_spaces = count_bytes = have_read_stdin = 0; /* Turn any numeric options into -w options. */ |