This fixes 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
Differential D30146
libc: use separate collate objects for C, POSIX, and C.UTF-8 yuripv on May 6 2021, 10:00 AM. Authored by Tags None Referenced Files
Subscribers
Details This fixes newlocale overwriting the locale name in collate object PR: 255646, 269375 See added test case. Run other libc tests.
Diff Detail
Event Timeline
Comment Actions update the test case to make it cover all switches between these locales Comment Actions Sorry, I completely forgot about this review, and now another PR was filed for the same problem. Could you please take another look? (I have updated the test case a bit for more complete switch testing).
|