Respect locale settings from the environment.
This commit is contained in:
parent
80209ec51c
commit
e781c653dd
@ -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…
x
Reference in New Issue
Block a user