From ef9121555f5bde41e3d4a0782c57c267be62142c Mon Sep 17 00:00:00 2001 From: ache Date: Fri, 19 Apr 2002 08:16:01 +0000 Subject: Use LC_ALL to pick collate Noticed by: tjr --- usr.bin/uniq/uniq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr.bin/uniq') diff --git a/usr.bin/uniq/uniq.c b/usr.bin/uniq/uniq.c index c743fd4..890cc95 100644 --- a/usr.bin/uniq/uniq.c +++ b/usr.bin/uniq/uniq.c @@ -80,7 +80,7 @@ main (argc, argv) char *prevline, *thisline, *p; int iflag = 0, comp; - (void) setlocale(LC_CTYPE, ""); + (void) setlocale(LC_ALL, ""); obsolete(argv); while ((ch = getopt(argc, argv, "-cdif:s:u")) != -1) -- cgit v1.1