Respect locale settings from the environment.

This commit is contained in:
tjr 2004-07-15 07:26:20 +00:00
parent 8529e351cd
commit cc381691c4

View File

@ -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--;