]> Savannah Git Hosting - gnulib.git/commit
regex: port to OS X 10.8.5 en_US.UTF-8 locale
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 7 Mar 2014 05:53:50 +0000 (21:53 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 7 Mar 2014 05:54:28 +0000 (21:54 -0800)
commit24379a9217fa4bd62685795aaaa010fd90ced9e3
tree256469a80748b2ac9b7770b7c6027b24ed83c2fa
parent8c7f2f9de84e2686f078a6a3a170c6381dae776f
regex: port to OS X 10.8.5 en_US.UTF-8 locale

This fixes a bug when ignoring case and when comparing the
titlecase letter 'Lj' (U+01C8 LATIN CAPITAL LETTER L WITH SMALL
LETTER J) to the corresponding uppercase letter 'LJ' (U+01C7 LATIN
CAPITAL LETTER LJ).  In the OS X 10.8.5 en_US.UTF-8 locale, the
titlecase letter is neither lowercase nor uppercase, but
uppercasing the titlecase letter (via towupper) yields the
uppercase letter, so the two letters should match when ignoring case.
Problem reported by Jim Meyering in <http://debbugs.gnu.org/16911#16>.
* lib/regex_internal.c (build_wcs_upper_buffer, build_upper_buffer):
Don't test whether a character is lowercase before uppercasing it.
ChangeLog
lib/regex_internal.c