Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
locale.c: strxfrm() requires LC_CTYPE eq LC_COLLATE
The libc functions strxfrm() on some platforms requires the LC_CTYPE locale to be the same as the LC_COLLATE locale (or rather, probably that they have the same code set, but checking for locale is cheaper). Otherwise mojibake would result, or more likely the function will fail, setting errno. This commit brings the locales into alignment if necessary
- Loading branch information