mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
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.
This commit is contained in:
@ -143,7 +143,7 @@ int
|
||||
gconv_init (struct gconv_step *step)
|
||||
{
|
||||
/* Determine which direction. */
|
||||
if (__strcasecmp (step->from_name, CHARSET_NAME) == 0)
|
||||
if (strcmp (step->from_name, CHARSET_NAME) == 0)
|
||||
{
|
||||
step->data = &from_object;
|
||||
|
||||
@ -152,7 +152,7 @@ gconv_init (struct gconv_step *step)
|
||||
step->min_needed_to = MIN_NEEDED_TO;
|
||||
step->max_needed_to = MAX_NEEDED_TO;
|
||||
}
|
||||
else if (__strcasecmp (step->to_name, CHARSET_NAME) == 0)
|
||||
else if (strcmp (step->to_name, CHARSET_NAME) == 0)
|
||||
{
|
||||
step->data = &to_object;
|
||||
|
||||
|
Reference in New Issue
Block a user