[PATCH v4 0/3] C.UTF-8

Florian Weimer fweimer@redhat.com
Thu Jul 29 07:53:48 GMT 2021


* Carlos O'Donell via Libc-alpha:

> The following changes implement a minimally sized C.UTF-8.
> First we implement the 'strcmp_collation' directive.
> Then we implement C.UTF-8 with an LC_COLLATE that uses the
> 'strcmp_collation' directive to support using strcmp for
> collation i.e. code point sorting. The final C.UTF-8 is
> only ~396KiB with the largest ~346KiB in LC_CTYPE for all
> of Unicode.
>
> This v4 fixes the regressions detected in Fedora Rawhide
> here: https://bugzilla.redhat.com/show_bug.cgi?id=1986421
> Additional testing coverage is provided for fnmatch, regcomp,
> and regexec (which would have caught the regression).

>From a high-level point of view I wonder if the more conservative choice
would be to fix the localdef generation for LC_COLLATE, at least for
this release.  It would also mean that we do not break statically linked
executables.

Thanks,
Florian



More information about the Libc-alpha mailing list