diff options
author | Andrey A. Chernov <ache@FreeBSD.org> | 2016-07-13 07:56:01 +0000 |
---|---|---|
committer | Andrey A. Chernov <ache@FreeBSD.org> | 2016-07-13 07:56:01 +0000 |
commit | 8e0303b03bc94c55917499189716266c98a98264 (patch) | |
tree | 0e369c465b856114a8c78586572bcd2caa21562b /usr.bin/tr | |
parent | 817c040c3f011b4bbd01774cb3944cff3cac6064 (diff) | |
download | src-test-8e0303b03bc94c55917499189716266c98a98264.tar.gz src-test-8e0303b03bc94c55917499189716266c98a98264.zip |
Fully back out r302594 case 2) since overflow may happens.
Notes
Notes:
svn path=/head/; revision=302711
Diffstat (limited to 'usr.bin/tr')
-rw-r--r-- | usr.bin/tr/tr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/tr/tr.c b/usr.bin/tr/tr.c index 883f59a498789..033b75cb53005 100644 --- a/usr.bin/tr/tr.c +++ b/usr.bin/tr/tr.c @@ -266,7 +266,7 @@ endloop: */ s2.str = argv[1]; s2.state = NORMAL; - for (cnt = 0; cnt <= WINT_MAX; cnt++) { + for (cnt = 0; cnt < WINT_MAX; cnt++) { if (Cflag && !iswrune(cnt)) continue; if (cmap_lookup(map, cnt) == OOBCH) { |