* 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:
Ulrich Drepper 1999-04-15 09:00:05 +00:00
parent 9514f4e693
commit 9654fd27c0
2 changed files with 5 additions and 2 deletions

View File

@ -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.

View File

@ -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