[PATCH] fix dlclose() that does not unload all depended libraries

Ulrich Drepper drepper@redhat.com
Thu Sep 9 16:27:00 GMT 2004


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



More information about the Libc-alpha mailing list