(collate_read): Fix loop to match macro name.
authordrepper <drepper>
Thu, 22 Nov 2007 22:20:58 +0000 (22:20 +0000)
committerdrepper <drepper>
Thu, 22 Nov 2007 22:20:58 +0000 (22:20 +0000)
locale/programs/ld-collate.c

index bf22a2c..227e764 100644 (file)
@@ -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))