diff options
author | ache <ache@FreeBSD.org> | 2001-12-30 19:30:10 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2001-12-30 19:30:10 +0000 |
commit | 1088528f87605f7bc0259fe29499b5fea33a8fba (patch) | |
tree | b220bba20cb58d601a225d2913694ed9a6f26b63 /usr.bin/comm | |
parent | d0817de822428fc52eef651803de7fd2bff2d3bd (diff) | |
download | FreeBSD-src-1088528f87605f7bc0259fe29499b5fea33a8fba.zip FreeBSD-src-1088528f87605f7bc0259fe29499b5fea33a8fba.tar.gz |
Use LC_ALL to pick LC_COLLATE too (for strcoll())
Diffstat (limited to 'usr.bin/comm')
-rw-r--r-- | usr.bin/comm/comm.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |