f69bef86 | 28-Dec-2017 |
zrj <rimvydas.jasinskas@gmail.com> |
libc: Remove 'table' argument from call to collate_range_cmp() in __sccl().
This prevents segfaults when called with say incomplete locale. Introduce a separate wide variant of __wcollate_range_cmp(
libc: Remove 'table' argument from call to collate_range_cmp() in __sccl().
This prevents segfaults when called with say incomplete locale. Introduce a separate wide variant of __wcollate_range_cmp() and use proper variant were needed. The __sccl() does not use wchar_t types. Also use '\0' instead of plain 0.
Similar change was done in FreeBSD.
show more ...
|
2c92c360 | 30-Dec-2017 |
zrj <rimvydas.jasinskas@gmail.com> |
newlocale(3): Add support for native complex locale.
Now newlocale(LC_ALL_MASK, setlocale(LC_ALL, NULL), NULL) should work as intended even with combinations like LC_CTYPE=lv_LT LC_TIME=lt_LT.
Whil
newlocale(3): Add support for native complex locale.
Now newlocale(LC_ALL_MASK, setlocale(LC_ALL, NULL), NULL) should work as intended even with combinations like LC_CTYPE=lv_LT LC_TIME=lt_LT.
While there, add compat support in setlocale(3) and fix a wrong git am in previous newlocale(3) commit.
show more ...
|