aboutsummaryrefslogtreecommitdiff
path: root/iconv/iconv_prog.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-05-21 16:24:27 +0000
committerUlrich Drepper <drepper@redhat.com>1998-05-21 16:24:27 +0000
commit3dcf8ea677b811ec326b9692163f9e802663f9cc (patch)
tree1964320d8e3c65d4af3c0f62e894331f313277d9 /iconv/iconv_prog.c
parentd5cd47bd3e1872f5749e838e094b8381a1f5e070 (diff)
downloadglibc-3dcf8ea677b811ec326b9692163f9e802663f9cc.zip
glibc-3dcf8ea677b811ec326b9692163f9e802663f9cc.tar.gz
glibc-3dcf8ea677b811ec326b9692163f9e802663f9cc.tar.bz2
Update.
1998-05-21 Ulrich Drepper <drepper@cygnus.com> * iconv/iconv_prog.c (print_known_names): Use strverscmp in all tsearch calls.
Diffstat (limited to 'iconv/iconv_prog.c')
-rw-r--r--iconv/iconv_prog.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/iconv/iconv_prog.c b/iconv/iconv_prog.c
index 5a08a21..82ff5cf 100644
--- a/iconv/iconv_prog.c
+++ b/iconv/iconv_prog.c
@@ -516,15 +516,15 @@ print_known_names (void)
{
if (strcmp (__gconv_modules_db[cnt]->from_constpfx, "INTERNAL"))
tsearch (__gconv_modules_db[cnt]->from_constpfx, &printlist,
- (__compar_fn_t) strcoll);
+ (__compar_fn_t) strverscmp);
if (strcmp (__gconv_modules_db[cnt]->to_string, "INTERNAL"))
tsearch (__gconv_modules_db[cnt]->to_string, &printlist,
- (__compar_fn_t) strcoll);
+ (__compar_fn_t) strverscmp);
}
else
if (strcmp (__gconv_modules_db[cnt]->from_pattern, "INTERNAL"))
tsearch (__gconv_modules_db[cnt]->from_pattern, &printlist,
- (__compar_fn_t) strcoll);
+ (__compar_fn_t) strverscmp);
}
fputs (_("\