diff options
author | Jim Meyering <jim@meyering.net> | 1996-03-12 03:08:30 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1996-03-12 03:08:30 +0000 |
commit | 10c96c43ac7f6465fef64f5d46797853bdc0b155 (patch) | |
tree | eaab216688f4d23edb7a1d3439dd833d90757564 /src/touch.c | |
parent | 8e8fd5439a1223a0ac7ac9fcd26e3e012204b349 (diff) | |
download | coreutils-10c96c43ac7f6465fef64f5d46797853bdc0b155.tar.xz |
(main): Initialize for internationalized message support: call setlocale,
bindtextdomain, and textdomain.
Diffstat (limited to 'src/touch.c')
-rw-r--r-- | src/touch.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/touch.c b/src/touch.c index 2bb6e8a5f..0f547ce1b 100644 --- a/src/touch.c +++ b/src/touch.c @@ -274,6 +274,10 @@ main (int argc, char **argv) int err = 0; program_name = argv[0]; + setlocale (LC_ALL, ""); + bindtextdomain (PACKAGE, LOCALEDIR); + textdomain (PACKAGE); + change_times = no_create = use_ref = posix_date = flexible_date = 0; newtime = (time_t) -1; |