Alexander Egorenkov
Alexander Egorenkov
@vortexilation Try this for `perl_lc_all_category_positions_init` https://github.com/Perl/perl5/blob/b786e5e6e5e961082d2f48dac2a1f3ab69339b14/perl.h#L1239
> Then you will also use perl_lc_all_category_positions_init for glibc as for musl?, if not how you overcome glibc and musl differences for base.config ?. We have to put them into...
**musl** ******** LC_ALL categories: ``` #define LC_CTYPE 0 #define LC_NUMERIC 1 #define LC_TIME 2 #define LC_COLLATE 3 #define LC_MONETARY 4 #define LC_MESSAGES 5 ``` Perl's LC_ positions (locale_table.h): ``` #define...
A simple program to obtain all LC_* values: ``` #include #include #include int main() { #ifdef LC_CTYPE fprintf(stdout, "LC_CTYPE: %d\n", LC_CTYPE); #endif #ifdef LC_NUMERIC fprintf(stdout, "LC_NUMERIC: %d\n", LC_NUMERIC); #endif #ifdef...