aboutsummaryrefslogtreecommitdiff
path: root/iconv/gconv_db.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-01-22 13:02:12 +0000
committerUlrich Drepper <drepper@redhat.com>1999-01-22 13:02:12 +0000
commitbd4848fb22d5125ef9717b152097d26c855682f4 (patch)
treea2baee82a2a8726a3e5ca16fd1b35cd26c0fd372 /iconv/gconv_db.c
parente18db2b0eec02e478cfaaed5a7ac71bef4fccc6a (diff)
downloadglibc-bd4848fb22d5125ef9717b152097d26c855682f4.zip
glibc-bd4848fb22d5125ef9717b152097d26c855682f4.tar.gz
glibc-bd4848fb22d5125ef9717b152097d26c855682f4.tar.bz2
Update.
1999-01-22 Ulrich Drepper <drepper@cygnus.com> * iconv/gconv_conf.c (add_alias): Convert names to uppercase before adding into search tree. (add_module): Likewise. * iconv/iconv_open.c: Likewise. * iconv/gconv_db.c: Change all __strcasecmp to strcmp. * iconv/skeleton.c (gconv_init): Likewise.
Diffstat (limited to 'iconv/gconv_db.c')
-rw-r--r--iconv/gconv_db.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/iconv/gconv_db.c b/iconv/gconv_db.c
index 5269d79..a5f2375 100644
--- a/iconv/gconv_db.c
+++ b/iconv/gconv_db.c
@@ -46,7 +46,7 @@ __gconv_alias_compare (const void *p1, const void *p2)
{
struct gconv_alias *s1 = (struct gconv_alias *) p1;
struct gconv_alias *s2 = (struct gconv_alias *) p2;
- return __strcasecmp (s1->fromname, s2->fromname);
+ return strcmp (s1->fromname, s2->fromname);
}
@@ -473,9 +473,9 @@ find_derivation (const char *toset, const char *toset_expand,
/* We managed to find a derivation. First see whether
this is what we are looking for. */
- if (__strcasecmp (result_set, toset) == 0
+ if (strcmp (result_set, toset) == 0
|| (toset_expand != NULL
- && __strcasecmp (result_set, toset_expand) == 0))
+ && strcmp (result_set, toset_expand) == 0))
{
if (solution == NULL || cost_hi < best_cost_hi
|| (cost_hi == best_cost_hi
@@ -505,8 +505,7 @@ find_derivation (const char *toset, const char *toset_expand,
/* Append at the end if there is no entry with
this name. */
for (step = first; step != NULL; step = step->next)
- if (__strcasecmp (result_set, step->result_set)
- == 0)
+ if (strcmp (result_set, step->result_set) == 0)
break;
if (step == NULL)