diff options
author | ache <ache@FreeBSD.org> | 2002-04-19 08:16:01 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2002-04-19 08:16:01 +0000 |
commit | ef9121555f5bde41e3d4a0782c57c267be62142c (patch) | |
tree | 0dc4fcb60f50b0284c49ee07fd1ed1176ae5fae2 | |
parent | 8dda548e4e8115b1bf488bae5a3024b087885c30 (diff) | |
download | FreeBSD-src-ef9121555f5bde41e3d4a0782c57c267be62142c.zip FreeBSD-src-ef9121555f5bde41e3d4a0782c57c267be62142c.tar.gz |
Use LC_ALL to pick collate
Noticed by: tjr
-rw-r--r-- | usr.bin/uniq/uniq.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |