Skip to content

Commit

Permalink
Update.
Browse files Browse the repository at this point in the history
2000-11-24  Ulrich Drepper  <drepper@redhat.com>

	* iconv/gconv_conf.c (insert_module): Replace old entry if new one
	hsa same names but lower cost.

2000-11-23  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
	which never occur during bootstrap.
	* sysdeps/sparc/sparc64/dl-machine.h: Likewise.
  • Loading branch information
Ulrich Drepper committed Nov 24, 2000
1 parent d64a397 commit 2debc8c
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
11 changes: 11 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
2000-11-24 Ulrich Drepper <drepper@redhat.com>

* iconv/gconv_conf.c (insert_module): Replace old entry if new one
hsa same names but lower cost.

2000-11-23 Jakub Jelinek <jakub@redhat.com>

* sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
which never occur during bootstrap.
* sysdeps/sparc/sparc64/dl-machine.h: Likewise.

2000-11-23 Andreas Jaeger <aj@suse.de>

* nss/nss_files/files-hosts.c: Remove getipnodebyname.
Expand Down
12 changes: 11 additions & 1 deletion iconv/gconv_conf.c
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,17 @@ insert_module (struct gconv_module *newp, int tobefreed)

if (root != NULL)
{
/* This is a no new conversion. */
/* This is a no new conversion. But maybe the cost is
better. */
if (newp->cost_hi < root->cost_hi
|| (newp->cost_hi == root->cost_hi
&& newp->cost_lo < root->cost_lo))
{
root->cost_hi = newp->cost_hi;
root->cost_lo = newp->cost_lo;
root->module_name = newp->module_name;
}

if (tobefreed)
free (newp);
return;
Expand Down

0 comments on commit 2debc8c

Please sign in to comment.