summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2008-01-05 23:55:01 +0100
committerJim Meyering <meyering@redhat.com>2008-01-06 00:09:29 +0100
commit6efd10462d8103208f4575f0b5edddf841c7d87c (patch)
tree8084cb4f82237f06a2e51d1c6cba9b34a38afc03 /NEWS
parentdf8c2bcfe0658af32ceb7fedd795e5359631ff84 (diff)
downloadcoreutils-6efd10462d8103208f4575f0b5edddf841c7d87c.tar.xz
Avoid tr case-conversion failure in some locales.
* src/tr.c (skip_construct): New function. (main): When processing a pair of case-converting classes, don't iterate through the elements of each [:upper:] or [:lower:] class. Reported by Gerald Pfeifer in <http://thread.gmane.org/gmane.comp.gnu.coreutils.bugs/12218>. * tests/tr/Test.pm [tolower-F]: New test for the above fix. [upcase-xtra, dncase-xtra]: New tests, for a related code path. * NEWS: Mention the tr bug fix.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS6
1 files changed, 6 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 5285d51e6..5b1b3668b 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,12 @@ GNU coreutils NEWS -*- outline -*-
* Noteworthy changes in release 6.? (????-??-??) [?]
+** Bug fixes
+
+ tr's case conversion would fail in a locale with differing numbers
+ of lower case and upper case characters. E.g., this would fail:
+ env LC_CTYPE=en_US.iso88591 tr '[:upper:]' '[:lower:]'
+ [bug introduced in coreutils-6.9.90]
* Noteworthy changes in release 6.9.91 (2007-12-15) [beta]