File glibc-disable-gettext-for-c-utf8.patch of Package glibc.30547

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;
 
openSUSE Build Service is sponsored by