diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-07-22 02:36:19 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-07-22 02:36:19 +0000 |
commit | 0c0c8bdeed0b6d5546e287300d1e210445991ae4 (patch) | |
tree | 24f153ee73930b33f4668662fd2d0154b423ab05 /locale/programs/ld-collate.c | |
parent | dfef32ef796146357481a6f7949ba900108c655e (diff) | |
download | glibc-0c0c8bdeed0b6d5546e287300d1e210445991ae4.zip glibc-0c0c8bdeed0b6d5546e287300d1e210445991ae4.tar.gz glibc-0c0c8bdeed0b6d5546e287300d1e210445991ae4.tar.bz2 |
Update.
* locale/programs/ld-collate.c (handle_ellipsis): Test for
duplication with generated name, not the name of the first
character.
Patch by Yong Li <yong.li@asu.edu>.
Diffstat (limited to 'locale/programs/ld-collate.c')
-rw-r--r-- | locale/programs/ld-collate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/locale/programs/ld-collate.c b/locale/programs/ld-collate.c index 89621c8..861269b 100644 --- a/locale/programs/ld-collate.c +++ b/locale/programs/ld-collate.c @@ -1264,7 +1264,7 @@ order for `%.*s' already defined at %s:%Zu"), sprintf (buf + preflen, base == 10 ? "%d" : "%x", from); /* Look whether this name is already defined. */ - if (find_entry (&collate->seq_table, symstr, symlen, + if (find_entry (&collate->seq_table, buf, symlen, (void **) &elem) == 0) { if (elem->next != NULL || (collate->cursor != NULL |