summaryrefslogtreecommitdiff
path: root/src/ls.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ls.c')
-rw-r--r--src/ls.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/ls.c b/src/ls.c
index bed1cf831..5b92a2bfb 100644
--- a/src/ls.c
+++ b/src/ls.c
@@ -624,13 +624,17 @@ main (int argc, char **argv)
register int i;
register struct pending *thispend;
+ program_name = argv[0];
+ setlocale (LC_ALL, "");
+ bindtextdomain (PACKAGE, LOCALEDIR);
+ textdomain (PACKAGE);
+
exit_status = 0;
dir_defaulted = 1;
print_dir_name = 1;
pending_dirs = 0;
current_time = time ((time_t *) 0);
- program_name = argv[0];
i = decode_switches (argc, argv);
if (show_version)