HomeFreeBSD

libc: use separate collate objects for C, POSIX, and C.UTF-8

Description

libc: use separate collate objects for C, POSIX, and C.UTF-8

Fix newlocale() overwriting the locale name in collate object
when same instance was used for those locales, and querylocale()
reporting unexpected value for LC_COLLATE_MASK.

PR: 255646, 269375
Reviewed by: markj, bapt (previous version)
Differential Revision: https://reviews.freebsd.org/D30146

Details

Provenance
yuripvAuthored on Mar 28 2023, 3:10 PM
Reviewer
markj
Differential Revision
D30146: libc: use separate collate objects for C, POSIX, and C.UTF-8
Parents
rG51d07956cf22: linuxkpi: Add alderlake defines in intel-family
Branches
Unknown
Tags
Unknown