From 715765a5487d2e37c4d48e216e6958883db6a41f Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 9 Mar 1996 20:19:13 +0000 Subject: (main): Initialize for internationalized message support: call setlocale, bindtextdomain, and textdomain. --- src/sum.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/sum.c') diff --git a/src/sum.c b/src/sum.c index 413f8346e..df22ff897 100644 --- a/src/sum.c +++ b/src/sum.c @@ -207,6 +207,10 @@ main (int argc, char **argv) int (*sum_func) () = bsd_sum_file; program_name = argv[0]; + setlocale (LC_ALL, ""); + bindtextdomain (PACKAGE, LOCALEDIR); + textdomain (PACKAGE); + have_read_stdin = 0; while ((optc = getopt_long (argc, argv, "rs", longopts, (int *) 0)) != -1) -- cgit v1.2.3-54-g00ecf