Use LC_ALL to pick collate

Noticed by:	tjr
This commit is contained in:
Andrey A. Chernov 2002-04-19 08:16:01 +00:00
parent 139df6553c
commit b285e2683f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=95030

View File

@ -80,7 +80,7 @@ main (argc, argv)
char *prevline, *thisline, *p;
int iflag = 0, comp;
(void) setlocale(LC_CTYPE, "");
(void) setlocale(LC_ALL, "");
obsolete(argv);
while ((ch = getopt(argc, argv, "-cdif:s:u")) != -1)