This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v2] Bug 11941: Improper assert map->l_init_called in dlclose
On 12/22/2016 01:26 PM, Carlos O'Donell wrote:
> v2
> - Fix GNU style problems.
> - Fix INFO message typo.
> - Fix missing unlock in non-local goto from _dl_signal_error.
> - Filed bug 20990 for double-dlclose detection issues and reference
> bug in new expanded comment.
> - Added reference from plugin to DSO to avoid future --as-needed problems.
v3
- Send the right patch with 'plugin_func' plugin symbol.
> + plugin_func = (void (*)(void)) dlsym (plugin_lib, "plugin_func");
> diff --git a/elf/tst-nodelete-dlclose-plugin.c b/elf/tst-nodelete-dlclose-plugin.c
> new file mode 100644
> index 0000000..d0261ea
> --- /dev/null
> +++ b/elf/tst-nodelete-dlclose-plugin.c
> +void
> +plugin (void)
s/plugin/plugin_func/g.
--
Cheers,
Carlos.