diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-01-13 02:10:09 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-01-13 02:10:09 +0000 |
commit | 1376cd8c7ba7bd48a2b3c224b2c1c4e76db15d2d (patch) | |
tree | 09eff2772e123c9f541a58ccb9037d67521e9dfd | |
parent | 40212ce0c92b25d5b3470d09ad5cb3f625c6a4c2 (diff) | |
download | glibc-1376cd8c7ba7bd48a2b3c224b2c1c4e76db15d2d.tar.gz glibc-1376cd8c7ba7bd48a2b3c224b2c1c4e76db15d2d.tar.xz glibc-1376cd8c7ba7bd48a2b3c224b2c1c4e76db15d2d.zip |
Update.
* elf/dl-close.c (_dl_close): Type typo, must be == not = in search for removed searchlist. Reported by Roland McGrath.
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | elf/dl-close.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 6ea1b06cdf..d7806b7d4b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2003-01-12 Ulrich Drepper <drepper@redhat.com> + * elf/dl-close.c (_dl_close): Type typo, must be == not = in + search for removed searchlist. Reported by Roland McGrath. + * io/ftwtest-sh: Add test for case of symlink to nonexisting file given as start file. diff --git a/elf/dl-close.c b/elf/dl-close.c index 0953fab210..cdebc739e8 100644 --- a/elf/dl-close.c +++ b/elf/dl-close.c @@ -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; |