This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: [PATCH] fix dlclose() that does not unload all depended libraries
- From: Ulrich Drepper <drepper at redhat dot com>
- To: GOTO Masanori <gotom at debian dot or dot jp>
- Cc: libc-alpha at sources dot redhat dot com
- Date: Thu, 09 Sep 2004 09:27:03 -0700
- Subject: Re: [PATCH] fix dlclose() that does not unload all depended libraries
- Organization: Red Hat, Inc.
- References: <81wtz3qw5s.wl@omega.webmasters.gr.jp>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
GOTO Masanori wrote:
> This patch fixes dlclose() that does not unload all depended libraries
> currently.
> [...]
The unloading code is extremely complicated. In the cases where a DSO
is not unloaded so far this often happens by design. I will need quite
some time to look at the patch and nobody else please check this in.
The biggest problem I have is people calling this a "bug". It is not.
Unloading *always* is optional. Programs depending on actual unloading
are broken.
- --
â Ulrich Drepper â Red Hat, Inc. â 444 Castro St â Mountain View, CA â
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
iD8DBQFBQIRX2ijCOnn/RHQRAiSwAJ9GJMNvvMPxFb7cDkAbGNhq20EpuQCgqNtY
ZHQCnHIZwmjHVOD/Ays2bfs=
=VxDv
-----END PGP SIGNATURE-----