Author: delphij Date: Fri Aug 28 00:49:30 2015 New Revision: 287237 URL: https://svnweb.freebsd.org/changeset/base/287237
Log: Respect locale settings. MFC after: 2 weeks Modified: head/bin/rm/rm.c Modified: head/bin/rm/rm.c ============================================================================== --- head/bin/rm/rm.c Fri Aug 28 00:44:58 2015 (r287236) +++ head/bin/rm/rm.c Fri Aug 28 00:49:30 2015 (r287237) @@ -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 _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"