From 1088528f87605f7bc0259fe29499b5fea33a8fba Mon Sep 17 00:00:00 2001 From: ache <ache@FreeBSD.org> Date: Sun, 30 Dec 2001 19:30:10 +0000 Subject: Use LC_ALL to pick LC_COLLATE too (for strcoll()) --- usr.bin/comm/comm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr.bin/comm') diff --git a/usr.bin/comm/comm.c b/usr.bin/comm/comm.c index bdf30e3..5d234c8 100644 --- a/usr.bin/comm/comm.c +++ b/usr.bin/comm/comm.c @@ -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) { -- cgit v1.1