* locale/programs/ld-ctype.c (ctype_read): If CTYPE is NULL, don't

do anything.
This commit is contained in:
Ulrich Drepper 2006-08-25 00:39:53 +00:00
parent 2ac9ca7300
commit f5a8277232
2 changed files with 5 additions and 0 deletions

View file

@ -1,5 +1,8 @@
2006-08-24 Ulrich Drepper <drepper@redhat.com>
* locale/programs/ld-ctype.c (ctype_read): If CTYPE is NULL, don't
do anything.
* sysdeps/generic/ldsodefs.h (DL_ADDR_SYM_MATCH): For undefined
symbol require exact match (these are PLTs).
* sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h

View file

@ -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)