Respect locale settings from the environment.

This commit is contained in:
Tim J. Robbins 2004-07-15 07:26:20 +00:00
parent be12aba0e0
commit c5453cb4db
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=132191

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