about summary refs log tree commit diff
path: root/elf/dl-close.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-10-05 18:10:14 +0000
committerUlrich Drepper <drepper@redhat.com>2000-10-05 18:10:14 +0000
commit172b90bbf6d68cfea568151bff7c1a96b277162b (patch)
tree3c3e70e1efeea09fba3c840440a80a0bff4b64ef /elf/dl-close.c
parent619166175d502f8c71f93bb9ec33db558301cd9d (diff)
downloadglibc-172b90bbf6d68cfea568151bff7c1a96b277162b.tar.gz
glibc-172b90bbf6d68cfea568151bff7c1a96b277162b.tar.xz
glibc-172b90bbf6d68cfea568151bff7c1a96b277162b.zip
Update.
2000-10-05  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/sparc/sparc64/fpu/libm-test-ulps: New file.

2000-10-02  Jakub Jelinek  <jakub@redhat.com>

	* sunrpc/svc_udp.c (svcudp_recv): Set msg_controllen to all
	remaining xp_pad space.

2000-10-05  Jakub Jelinek  <jakub@redhat.com>

	* elf/dl-close.c (_dl_close): Check imap's l_flags_1 for
	DF_1_NODELETE, not list[i]'s.
Diffstat (limited to 'elf/dl-close.c')
-rw-r--r--elf/dl-close.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/dl-close.c b/elf/dl-close.c
index f62c171654..8426e73ec9 100644
--- a/elf/dl-close.c
+++ b/elf/dl-close.c
@@ -95,7 +95,7 @@ _dl_close (void *_map)
       struct link_map *imap = map->l_initfini[i];
       if (imap->l_opencount == 1 && imap->l_type == lt_loaded
 	  && (imap->l_info[DT_FINI] || imap->l_info[DT_FINI_ARRAY])
-	  && ! (list[i]->l_flags_1 & DF_1_NODELETE)
+	  && ! (imap->l_flags_1 & DF_1_NODELETE)
 	  /* Skip any half-cooked objects that were never initialized.  */
 	  && imap->l_init_called)
 	{