From 3a632674508a4c934c75e4f6052ed37f1bba07bc Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 22 Nov 2007 22:21:08 +0000 Subject: * locale/programs/ld-collate.c (collate_read): Fix loop to match macro name. --- locale/programs/ld-collate.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'locale/programs') 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)) -- cgit 1.4.1