diff options
author | Andrey A. Chernov <ache@FreeBSD.org> | 2002-04-19 08:16:01 +0000 |
---|---|---|
committer | Andrey A. Chernov <ache@FreeBSD.org> | 2002-04-19 08:16:01 +0000 |
commit | b285e2683f0dec6bb7bc97721c8ffe204db8006d (patch) | |
tree | 0dc4fcb60f50b0284c49ee07fd1ed1176ae5fae2 /usr.bin/uniq/uniq.c | |
parent | 139df6553c380899f95dbb553d2b54183419b631 (diff) | |
download | src-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.c | 2 |
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) |