Respect locale settings from the environment.

This commit is contained in:
Tim J. Robbins 2004-07-15 08:54:41 +00:00
parent 80209ec51c
commit e781c653dd
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=132201

View File

@ -57,6 +57,7 @@ __FBSDID("$FreeBSD$");
#include <fnmatch.h>
#include <fts.h>
#include <libutil.h>
#include <locale.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@ -89,6 +90,8 @@ main(int argc, char *argv[])
char **save;
static char dot[] = ".";
setlocale(LC_ALL, "");
Hflag = Lflag = Pflag = aflag = sflag = dflag = cflag = hflag = 0;
save = argv;