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

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) {