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

Index: glibc-2.27/intl/dcigettext.c
===================================================================
--- glibc-2.27.orig/intl/dcigettext.c
+++ glibc-2.27/intl/dcigettext.c
@@ -695,6 +695,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