]> sourceware.org Git - glibc.git/commit
intl: Treat C.UTF-8 locale like C locale, part 2 (BZ# 16621)
authorBruno Haible <bruno@clisp.org>
Tue, 12 Dec 2023 08:45:16 +0000 (09:45 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Tue, 12 Dec 2023 09:08:07 +0000 (10:08 +0100)
commitd0aefec49941cf6d97e2244d6aa20bafc26d5942
tree564b5193cbe036929f80c8779bee53983ba8528b
parentfc039ce8502d236f11074eb58468be24b4fa8cc7
intl: Treat C.UTF-8 locale like C locale, part 2 (BZ# 16621)

The previous commit was incomplete: gettext() still returns a translation
if the file /usr/share/locale/C/LC_MESSAGES/<domain>.mo exists. This patch
prohibits the translation also in this case.

* gettext-runtime/intl/dcigettext.c (DCIGETTEXT): Treat C.<encoding> locale
like the C locale.

Reviewed-by: Florian Weimer <fweimer@redhat.com>
intl/dcigettext.c
This page took 0.042217 seconds and 5 git commands to generate.