Respect locale settings from the environment.
This commit is contained in:
parent
8529e351cd
commit
cc381691c4
@ -45,6 +45,7 @@ __FBSDID("$FreeBSD$");
|
||||
#include <err.h>
|
||||
#include <errno.h>
|
||||
#include <unistd.h>
|
||||
#include <locale.h>
|
||||
|
||||
static void __dead2
|
||||
usage(void)
|
||||
@ -136,6 +137,8 @@ main(int ac, char **av)
|
||||
int matched;
|
||||
int killed = 0;
|
||||
|
||||
setlocale(LC_ALL, "");
|
||||
|
||||
av++;
|
||||
ac--;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user