Use LC_ALL to pick LC_COLLATE too (for strcoll())

This commit is contained in:
Andrey A. Chernov 2001-12-30 19:30:10 +00:00
parent 909b37a414
commit 6d994e13c8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=88717

View File

@ -82,7 +82,7 @@ main(argc, argv)
flag1 = flag2 = flag3 = 1;
iflag = 0;
(void) setlocale(LC_CTYPE, "");
(void) setlocale(LC_ALL, "");
while ((ch = getopt(argc, argv, "-123i")) != -1)
switch(ch) {