Fix broken locale case-insensitive matching
authorKarl Williamson <public@khwilliamson.com>
Sat, 30 Nov 2013 22:26:07 +0000 (15:26 -0700)
committerKarl Williamson <public@khwilliamson.com>
Tue, 3 Dec 2013 17:05:23 +0000 (10:05 -0700)
commit77806deadcc5dd84c2a61471c46ddee174f21a2d
tree1ccb81b11352ceff882a6e713bc4ea9fc57a5d3f
parent0358c255174b7f6c26a079baa5044df321529a6e
Fix broken locale case-insensitive matching

Commit 68067e4e501e2ae1c0fb44558b6aa5c0a80a4143 inadvertently
broke regular expression /i matching under locale.  The tests for this
were defective, so the breakage was not caught.  A later commit will fix
the tests, but this commit restores the functionality.

It also casts the input parameter to some functions to be U8 to make
sure that optimizing compilers can omit bounds checks
locale.c