1
0
mirror of https://sourceware.org/git/glibc.git synced 2026-01-06 11:51:29 +03:00
* elf/dl-close.c (_dl_close): Type typo, must be == not = in
	search for removed searchlist.  Reported by Roland McGrath.
This commit is contained in:
Ulrich Drepper
2003-01-13 02:10:09 +00:00
parent 40212ce0c9
commit 1376cd8c7b
2 changed files with 4 additions and 1 deletions

View File

@@ -303,7 +303,7 @@ _dl_close (void *_map)
imap->l_searchlist.r_nlist = cnt;
for (cnt = 0; imap->l_scope[cnt] != NULL; ++cnt)
if (imap->l_scope[cnt] = &map->l_searchlist)
if (imap->l_scope[cnt] == &map->l_searchlist)
{
imap->l_scope[cnt] = &imap->l_searchlist;
break;