]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Mon, 13 Jan 2003 02:10:09 +0000 (02:10 +0000)
committerUlrich Drepper <drepper@redhat.com>
Mon, 13 Jan 2003 02:10:09 +0000 (02:10 +0000)
* elf/dl-close.c (_dl_close): Type typo, must be == not = in
search for removed searchlist.  Reported by Roland McGrath.

ChangeLog
elf/dl-close.c

index 6ea1b06cdfe00b8d40eb03b6f21964afd42e4d4f..d7806b7d4b1704ea726c258e1780936183895135 100644 (file)
--- 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.
 
index 0953fab210c589a2d57e178e867348d3b5408e6e..cdebc739e885e3740f369ba7834291cac428ff16 100644 (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;