(translit_flatten): Issue error if other's ctype category was missing.
authordrepper <drepper>
Mon, 28 Aug 2006 16:16:05 +0000 (16:16 +0000)
committerdrepper <drepper>
Mon, 28 Aug 2006 16:16:05 +0000 (16:16 +0000)
locale/programs/ld-ctype.c

index a42b6f1..b1a28b9 100644 (file)
@@ -3769,7 +3769,7 @@ translit_flatten (struct locale_ctype_t *ctype,
 
       other = find_locale (LC_CTYPE, copy_locale, copy_repertoire, charmap);
 
-      if (other == NULL)
+      if (other == NULL || other->categories[LC_CTYPE].ctype == NULL)
        {
          WITH_CUR_LOCALE (error (0, 0, _("\
 %s: transliteration data from locale `%s' not available"),