summaryrefslogtreecommitdiff
path: root/locale
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2007-11-22 22:21:08 +0000
committerUlrich Drepper <drepper@redhat.com>2007-11-22 22:21:08 +0000
commit3a632674508a4c934c75e4f6052ed37f1bba07bc (patch)
tree377e80dda6f64eb8ebe4f40de208206b78f181b7 /locale
parent77f1e09a99848129f3b5e850e08ece84fe8ca542 (diff)
downloadglibc-3a632674508a4c934c75e4f6052ed37f1bba07bc.tar.gz
* locale/programs/ld-collate.c (collate_read): Fix loop to match
macro name.
Diffstat (limited to 'locale')
-rw-r--r--locale/programs/ld-collate.c2
1 files changed, 2 insertions, 0 deletions
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))