diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | locale/programs/ld-collate.c | 2 |
2 files changed, 7 insertions, 0 deletions
@@ -1,3 +1,8 @@ +2007-11-22 Ulrich Drepper <drepper@redhat.com> + + * locale/programs/ld-collate.c (collate_read): Fix loop to match + macro name. + 2007-11-19 Ulrich Drepper <drepper@redhat.com> * sysdeps/posix/getaddrinfo.c (defaults_scopes, scopes): New variables. diff --git a/locale/programs/ld-collate.c b/locale/programs/ld-collate.c index bf22a2c47b..227e764a6c 100644 --- a/locale/programs/ld-collate.c +++ b/locale/programs/ld-collate.c @@ -4008,6 +4008,8 @@ error while adding equivalent collating symbol")); arg->val.str.lenmb) == 0 && curdef->str[arg->val.str.lenmb] == '\0') break; + else + curdef = curdef->next; if ((nowtok == tok_ifdef && curdef != NULL) || (nowtok == tok_ifndef && curdef == NULL)) |