summaryrefslogtreecommitdiff
path: root/locale
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2006-08-25 06:45:16 +0000
committerJakub Jelinek <jakub@redhat.com>2006-08-25 06:45:16 +0000
commit44731509844946ccd2c2ee1de87901c171dadcc5 (patch)
tree83e065c21bd400661e9a594289ec3114cd10d051 /locale
parent4728cb644861ff8c58586702bf6815c50a1c0dd2 (diff)
Updated to fedora-glibc-20060825T0639
Diffstat (limited to 'locale')
-rw-r--r--locale/programs/ld-ctype.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/locale/programs/ld-ctype.c b/locale/programs/ld-ctype.c
index f38231f984..0ffda62e29 100644
--- a/locale/programs/ld-ctype.c
+++ b/locale/programs/ld-ctype.c
@@ -2256,6 +2256,8 @@ ctype_read (struct linereader *ldfile, struct localedef_t *result,
/* Prepare the data structures. */
ctype_startup (ldfile, result, charmap, copy_locale, ignore_content);
ctype = result->categories[LC_CTYPE].ctype;
+ if (ctype == NULL)
+ return;
/* Remember the repertoire we use. */
if (!ignore_content)