summaryrefslogtreecommitdiff
path: root/src/pathchk.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1996-03-12 23:49:29 +0000
committerJim Meyering <jim@meyering.net>1996-03-12 23:49:29 +0000
commit6fc4ae7a28f4603daee61672949835aa6e6059ff (patch)
treea4513c47f111bc79c4fc75875664350b2b951536 /src/pathchk.c
parent3f92a4421a7bba073bf58b5f6b85d59055a7766f (diff)
downloadcoreutils-6fc4ae7a28f4603daee61672949835aa6e6059ff.tar.xz
(main): Initialize for internationalized message support:
call setlocale, bindtextdomain, and textdomain.
Diffstat (limited to 'src/pathchk.c')
-rw-r--r--src/pathchk.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pathchk.c b/src/pathchk.c
index 3aaa09968..ad5daddf6 100644
--- a/src/pathchk.c
+++ b/src/pathchk.c
@@ -121,6 +121,9 @@ main (int argc, char **argv)
int optc;
program_name = argv[0];
+ setlocale (LC_ALL, "");
+ bindtextdomain (PACKAGE, LOCALEDIR);
+ textdomain (PACKAGE);
while ((optc = getopt_long (argc, argv, "p", longopts, (int *) 0)) != EOF)
{