aboutsummaryrefslogtreecommitdiff
path: root/stdio-common/printf-parsewc.c
diff options
context:
space:
mode:
authorCarlos O'Donell <carlos@redhat.com>2021-07-29 01:16:54 -0400
committerCarlos O'Donell <carlos@redhat.com>2021-07-29 01:16:54 -0400
commit52d5eb7e0678914f848cc3d7ac99f63d9d8359ef (patch)
tree2f67d79a6d9e51c5163b4dce1409f004ba771fb2 /stdio-common/printf-parsewc.c
parentc37fc3ebf0607ce1953c565ffe56d56555eeb25e (diff)
downloadglibc-52d5eb7e0678914f848cc3d7ac99f63d9d8359ef.zip
glibc-52d5eb7e0678914f848cc3d7ac99f63d9d8359ef.tar.gz
glibc-52d5eb7e0678914f848cc3d7ac99f63d9d8359ef.tar.bz2
Add support for locales with zero collation rules.
While there is code to handle 'nrules == 0' in various locations within posix/fnmatch_loop.c, posix/regcomp.c and posix/regexec.c, these conditionals do not work. The only collation with zero rules in effect today is the builtin C/POSIX locale which is built by hand, and despite have zero rules it has a collseqmb and collseqwc tables stored in the locale data. These tables are simple identity tables which are not actually required and could be removed at a later date after this change. The changes are in order to prepare for C.UTF-8 which has zero rules and has no collation sequence tables (multibyte or widechar). No regressions on x86_64 or i686.
Diffstat (limited to 'stdio-common/printf-parsewc.c')
0 files changed, 0 insertions, 0 deletions