Update.
* elf/dl-close.c (_dl_close): Fix last patch (cnt is unsigned).
This commit is contained in:
parent
d3556ac929
commit
ad11b5a745
@ -1,5 +1,7 @@
|
|||||||
1999-01-20 Ulrich Drepper <drepper@cygnus.com>
|
1999-01-20 Ulrich Drepper <drepper@cygnus.com>
|
||||||
|
|
||||||
|
* elf/dl-close.c (_dl_close): Fix last patch (cnt is unsigned).
|
||||||
|
|
||||||
* elf/dl-close.c: Handle failed loads which would have gone in the
|
* elf/dl-close.c: Handle failed loads which would have gone in the
|
||||||
global scope correctly.
|
global scope correctly.
|
||||||
|
|
||||||
|
@ -106,7 +106,7 @@ _dl_close (struct link_map *map)
|
|||||||
unsigned int cnt = _dl_main_searchlist->r_nlist;
|
unsigned int cnt = _dl_main_searchlist->r_nlist;
|
||||||
|
|
||||||
do
|
do
|
||||||
if (--cnt < 0)
|
if (cnt-- == 0)
|
||||||
break;
|
break;
|
||||||
while (_dl_main_searchlist->r_list[cnt] != imap);
|
while (_dl_main_searchlist->r_list[cnt] != imap);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user