summaryrefslogtreecommitdiff
path: root/src/tac.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1996-03-09 20:19:13 +0000
committerJim Meyering <jim@meyering.net>1996-03-09 20:19:13 +0000
commit715765a5487d2e37c4d48e216e6958883db6a41f (patch)
tree05d3a6daffcd9629e21fb275fe387e06dc3ba440 /src/tac.c
parentde0fdbb080e3902f2a6d4ee795b6322565df424b (diff)
downloadcoreutils-715765a5487d2e37c4d48e216e6958883db6a41f.tar.xz
(main): Initialize for internationalized message support: call setlocale,
bindtextdomain, and textdomain.
Diffstat (limited to 'src/tac.c')
-rw-r--r--src/tac.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tac.c b/src/tac.c
index d96e17796..54c10d0b4 100644
--- a/src/tac.c
+++ b/src/tac.c
@@ -588,6 +588,10 @@ main (int argc, char **argv)
int have_read_stdin = 0;
program_name = argv[0];
+ setlocale (LC_ALL, "");
+ bindtextdomain (PACKAGE, LOCALEDIR);
+ textdomain (PACKAGE);
+
errors = 0;
separator = "\n";
sentinel_length = 1;