|author||Rich Felker <email@example.com>||2018-10-22 00:22:33 -0400|
|committer||Rich Felker <firstname.lastname@example.org>||2018-10-22 00:22:33 -0400|
make the default locale (& a variant) failure-free cases for newlocale
commit aeeac9ca5490d7d90fe061ab72da446c01ddf746 introduced fail-safe invariants that creating a locale_t object for the C locale or C.UTF-8 locale will always succeed. extend the guarantee to also cover the following: - newlocale(LC_ALL_MASK, "", 0) - newlocale(LC_ALL_MASK-LC_CTYPE_MASK, "C", 0) provided that the LANG/LC_* environment variables have not been changed by the program. these usages are idiomatic for getting the default locale, and for getting a locale that behaves as the C locale except for honoring the default locale's character encoding.
Diffstat (limited to 'src/string/memmem.c')
0 files changed, 0 insertions, 0 deletions