mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-04 15:40:44 +00:00
Respect locale settings from the environment.
This commit is contained in:
parent
be12aba0e0
commit
c5453cb4db
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=132191
|
@ -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 a new issue