Respect locale settings from the environment.
This commit is contained in:
parent
be12aba0e0
commit
c5453cb4db
@ -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