Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
locale.c: Don't assume LC_CTYPE, LC_COLLATE are same
This code is using isCNTRL_LC which depends on LC_CTYPE to verify that something in the LC_COLLATE locale is a control. That only works properly if the two locales are the same. This commit adds code to ensure they are.
- Loading branch information
1 parent
1c1c507
commit 72ae42b
Showing
1 changed file
with
13 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters