[PATCH] _dl_close fix
Ulrich Drepper
drepper@redhat.com
Thu Oct 5 10:59:00 GMT 2000
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 `------------------------
More information about the Libc-hacker
mailing list