This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [PATCH] _dl_close fix


Jakub Jelinek <jakub@redhat.com> writes:

> The issue is that on dlclose(finimod1) in main, in _dl_close
> finimod1's map l_initfini[0] == list[0] == finimod1, but
> l_initfini[1] = finimod2 while list[1] == pthread, l_initfini[2] ==
> pthread while list[2] == finimod2

Doh!

> 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.

I've applied the patch.  Thanks,

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]