aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/tr/tr.c
diff options
context:
space:
mode:
authorTim J. Robbins <tjr@FreeBSD.org>2002-06-14 07:37:08 +0000
committerTim J. Robbins <tjr@FreeBSD.org>2002-06-14 07:37:08 +0000
commit85f6c317eaba505a515597b930b9e87a13ab81c3 (patch)
treed2045ef36addf678037810b6a9dfe3d0c268d899 /usr.bin/tr/tr.c
parentfa3b8ffb3230a2420332fd7d87305b55a32e6e6a (diff)
downloadsrc-85f6c317eaba505a515597b930b9e87a13ab81c3.tar.gz
src-85f6c317eaba505a515597b930b9e87a13ab81c3.zip
Implement support for equivalence classes ([=e=]) when the mapping is
one-to-one (SUSv3)
Notes
Notes: svn path=/head/; revision=98210
Diffstat (limited to 'usr.bin/tr/tr.c')
-rw-r--r--usr.bin/tr/tr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/tr/tr.c b/usr.bin/tr/tr.c
index 359ef05927ac..c74e1d0502cd 100644
--- a/usr.bin/tr/tr.c
+++ b/usr.bin/tr/tr.c
@@ -105,7 +105,7 @@ main(argc, argv)
int ch, cnt, lastch, *p;
int cflag, dflag, sflag, isstring2;
- (void) setlocale(LC_CTYPE, "");
+ (void)setlocale(LC_ALL, "");
cflag = dflag = sflag = 0;
while ((ch = getopt(argc, argv, "cdsu")) != -1)