glib/gmodule
Philip Withnall 483843c282 gmodule: Add locking around dlerror() for some libc implementations
Specifically, for uclibc at the moment. Other implementations may need
locking, but I haven’t checked any aside from uclibc-ng and glibc.

POSIX.1-2001 specifies that `dlerror()` is not thread-safe, but the
glibc (and likely other libc) implementation is.

Issue #399 was originally reported about eglibc, but that project has
since died and been merged back into glibc. So that’s one less thing to
worry about.

Signed-off-by: Philip Withnall <pwithnall@endlessos.org>

Fixes: #399
2021-05-28 09:58:21 +01:00
..
AUTHORS initial import of gmodule. 1998-08-09 08:32:18 +00:00
COPYING gmodule/: LGPLv2+ -> LGPLv2.1+ 2017-05-24 11:58:19 +02:00
gmodule-ar.c gmodule: change _g_module_close to only take a handle. 2019-12-12 16:15:05 +00:00
gmodule-dl.c gmodule: Add locking around dlerror() for some libc implementations 2021-05-28 09:58:21 +01:00
gmodule-win32.c Fix g_module_symbol() under Windows sometimes not succeeding 2020-09-30 09:57:40 +02:00
gmodule.c tree: Fix various typos and outdated terminology 2020-06-12 15:01:08 +01:00
gmodule.h tree: Fix various typos and outdated terminology 2020-06-12 15:01:08 +01:00
gmodule.rc.in meson: build Windows resource files 2018-01-04 22:19:30 +01:00
gmoduleconf.h.in gmodule: remove macOS dyld implementation 2019-09-07 16:41:34 +01:00
meson.build Meson: Override every dependency glib provides 2020-04-05 00:34:04 -04:00