]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - locale/programs/locarchive.c
locale/programs/locarchive.c: Remove unnecessary check in add_locale_archive
[thirdparty/glibc.git] / locale / programs / locarchive.c
index 87d2d9b1b29fcf4b479d54b35fddebac10721a4a..8d7d51af6cba0886f1ffe7e0eda63727ea2b54f6 100644 (file)
@@ -1156,7 +1156,7 @@ add_locale_to_archive (struct locarhandle *ah, const char *name,
        We will store it in the archive with a normalized name.  */
     asprintf (&normalized_name, "%s%s%s.%s%s%s",
              language, territory == NULL ? "" : "_", territory ?: "",
-             (mask & XPG_NORM_CODESET) ? normalized_codeset : codeset,
+             normalized_codeset,
              modifier == NULL ? "" : "@", modifier ?: "");
 
   /* This call does the main work.  */