summaryrefslogtreecommitdiff
path: root/src/rmdir.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1996-03-12 03:08:30 +0000
committerJim Meyering <jim@meyering.net>1996-03-12 03:08:30 +0000
commit10c96c43ac7f6465fef64f5d46797853bdc0b155 (patch)
treeeaab216688f4d23edb7a1d3439dd833d90757564 /src/rmdir.c
parent8e8fd5439a1223a0ac7ac9fcd26e3e012204b349 (diff)
downloadcoreutils-10c96c43ac7f6465fef64f5d46797853bdc0b155.tar.xz
(main): Initialize for internationalized message support: call setlocale,
bindtextdomain, and textdomain.
Diffstat (limited to 'src/rmdir.c')
-rw-r--r--src/rmdir.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/rmdir.c b/src/rmdir.c
index 2902b2734..e091fd063 100644
--- a/src/rmdir.c
+++ b/src/rmdir.c
@@ -102,6 +102,10 @@ main (int argc, char **argv)
int optc;
program_name = argv[0];
+ setlocale (LC_ALL, "");
+ bindtextdomain (PACKAGE, LOCALEDIR);
+ textdomain (PACKAGE);
+
empty_paths = 0;
while ((optc = getopt_long (argc, argv, "p", longopts, (int *) 0)) != EOF)