summaryrefslogtreecommitdiffstats
path: root/usr.bin/uniq/uniq.c
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2002-04-19 08:16:01 +0000
committerache <ache@FreeBSD.org>2002-04-19 08:16:01 +0000
commitef9121555f5bde41e3d4a0782c57c267be62142c (patch)
tree0dc4fcb60f50b0284c49ee07fd1ed1176ae5fae2 /usr.bin/uniq/uniq.c
parent8dda548e4e8115b1bf488bae5a3024b087885c30 (diff)
downloadFreeBSD-src-ef9121555f5bde41e3d4a0782c57c267be62142c.zip
FreeBSD-src-ef9121555f5bde41e3d4a0782c57c267be62142c.tar.gz
Use LC_ALL to pick collate
Noticed by: tjr
Diffstat (limited to 'usr.bin/uniq/uniq.c')
-rw-r--r--usr.bin/uniq/uniq.c2
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)
OpenPOWER on IntegriCloud