aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/uniq/uniq.c
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2002-04-19 08:16:01 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2002-04-19 08:16:01 +0000
commitb285e2683f0dec6bb7bc97721c8ffe204db8006d (patch)
tree0dc4fcb60f50b0284c49ee07fd1ed1176ae5fae2 /usr.bin/uniq/uniq.c
parent139df6553c380899f95dbb553d2b54183419b631 (diff)
downloadsrc-b285e2683f0dec6bb7bc97721c8ffe204db8006d.tar.gz
src-b285e2683f0dec6bb7bc97721c8ffe204db8006d.zip
Use LC_ALL to pick collate
Noticed by: tjr
Notes
Notes: svn path=/head/; revision=95030
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 c743fd4eb2be..890cc95e96a5 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)