about summary refs log tree commit diff
path: root/locale/programs/ld-collate.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-07-22 02:36:19 +0000
committerUlrich Drepper <drepper@redhat.com>2000-07-22 02:36:19 +0000
commit0c0c8bdeed0b6d5546e287300d1e210445991ae4 (patch)
tree24f153ee73930b33f4668662fd2d0154b423ab05 /locale/programs/ld-collate.c
parentdfef32ef796146357481a6f7949ba900108c655e (diff)
downloadglibc-0c0c8bdeed0b6d5546e287300d1e210445991ae4.tar.gz
glibc-0c0c8bdeed0b6d5546e287300d1e210445991ae4.tar.xz
glibc-0c0c8bdeed0b6d5546e287300d1e210445991ae4.zip
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/locale/programs/ld-collate.c b/locale/programs/ld-collate.c
index 89621c82e1..861269bc70 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