mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-03 08:11:08 +00:00
Update.
* iconv/gconv_db.c (__gconv_find_transform): If conversion is known to not exist don't try to load shared objects. Patch by Petr Vandrovec Ing. VTEI <VANDROVE@vc.cvut.cz>.
This commit is contained in:
parent
9514f4e693
commit
9654fd27c0
@ -1,5 +1,9 @@
|
|||||||
1999-04-15 Ulrich Drepper <drepper@cygnus.com>
|
1999-04-15 Ulrich Drepper <drepper@cygnus.com>
|
||||||
|
|
||||||
|
* iconv/gconv_db.c (__gconv_find_transform): If conversion is
|
||||||
|
known to not exist don't try to load shared objects.
|
||||||
|
Patch by Petr Vandrovec Ing. VTEI <VANDROVE@vc.cvut.cz>.
|
||||||
|
|
||||||
* nscd/cache.c (prune_cache): The table might not be unused. In
|
* nscd/cache.c (prune_cache): The table might not be unused. In
|
||||||
this case do nothing.
|
this case do nothing.
|
||||||
|
|
||||||
|
@ -655,7 +655,7 @@ __gconv_find_transform (const char *toset, const char *fromset,
|
|||||||
size_t cnt = *nsteps;
|
size_t cnt = *nsteps;
|
||||||
struct gconv_step *steps = *handle;
|
struct gconv_step *steps = *handle;
|
||||||
|
|
||||||
do
|
while (cnt > 0)
|
||||||
if (steps[--cnt].counter++ == 0)
|
if (steps[--cnt].counter++ == 0)
|
||||||
{
|
{
|
||||||
steps[cnt].shlib_handle =
|
steps[cnt].shlib_handle =
|
||||||
@ -670,7 +670,6 @@ __gconv_find_transform (const char *toset, const char *fromset,
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
while (cnt > 0);
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user