Skip to content

Commit

Permalink
* locale/programs/ld-ctype.c (ctype_read): If CTYPE is NULL, don't
Browse files Browse the repository at this point in the history
	do anything.
  • Loading branch information
Ulrich Drepper committed Aug 25, 2006
1 parent 2ac9ca7 commit f5a8277
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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
2 changes: 2 additions & 0 deletions locale/programs/ld-ctype.c
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit f5a8277

Please sign in to comment.