Respect locale settings from the environment.
This commit is contained in:
parent
80209ec51c
commit
e781c653dd
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=132201
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user