Use LC_ALL to pick LC_COLLATE too (for strcoll())
This commit is contained in:
parent
909b37a414
commit
6d994e13c8
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user