SHA256
1
0
forked from pool/glibc
glibc/glibc-disable-gettext-for-c-utf8.patch
Andreas Schwab 37b6441105 Accepting request 368505 from home:namtrac:branches:Base:System
- Add C.UTF-8 locale (see https://sourceware.org/glibc/wiki/Proposals/C.UTF-8)
  and rh#902094 . Added with glibc-c-utf8-locale.patch.
- Add glibc-disable-gettext-for-c-utf8.patch to disable gettext for
  C.UTF-8 same as C locale.

- Add C.UTF-8 locale (see https://sourceware.org/glibc/wiki/Proposals/C.UTF-8)
  and rh#902094 . Added with glibc-c-utf8-locale.patch.
- Add glibc-disable-gettext-for-c-utf8.patch to disable gettext for
  C.UTF-8 same as C locale.

- Add C.UTF-8 locale (see https://sourceware.org/glibc/wiki/Proposals/C.UTF-8)
  and rh#902094 . Added with glibc-c-utf8-locale.patch.
- Add glibc-disable-gettext-for-c-utf8.patch to disable gettext for
  C.UTF-8 same as C locale.

OBS-URL: https://build.opensuse.org/request/show/368505
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=426
2016-03-09 16:10:36 +00:00

13 lines
489 B
Diff

Index: glibc-2.23/intl/dcigettext.c
===================================================================
--- glibc-2.23.orig/intl/dcigettext.c
+++ glibc-2.23/intl/dcigettext.c
@@ -714,6 +714,7 @@ DCIGETTEXT (const char *domainname, cons
/* If the current locale value is C (or POSIX) we don't load a
domain. Return the MSGID. */
if (strcmp (single_locale, "C") == 0
+ || strcmp (single_locale, "C.UTF-8") == 0
|| strcmp (single_locale, "POSIX") == 0)
break;