MFC r287237: Respect locale settings.

This commit is contained in:
delphij 2015-09-14 17:57:01 +00:00
parent bdd5bccf11
commit 8d98cd2211

@ -50,6 +50,7 @@ __FBSDID("$FreeBSD$");
#include <fcntl.h>
#include <fts.h>
#include <grp.h>
#include <locale.h>
#include <pwd.h>
#include <stdint.h>
#include <stdio.h>
@ -86,6 +87,8 @@ main(int argc, char *argv[])
int ch;
char *p;
(void)setlocale(LC_ALL, "");
/*
* Test for the special case where the utility is called as
* "unlink", for which the functionality provided is greatly