mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-21 02:19:40 +01:00
* Use threadvar for the module name buffer to be thread-safe.
git-svn-id: trunk@29422 -
This commit is contained in:
parent
55cce4cb69
commit
ed770f4485
@ -2,7 +2,7 @@
|
|||||||
// On Android the dladdr() function does not return full path to modules.
|
// On Android the dladdr() function does not return full path to modules.
|
||||||
// Emulate dladdr() by reading the /proc/self/maps to get full path to modules.
|
// Emulate dladdr() by reading the /proc/self/maps to get full path to modules.
|
||||||
|
|
||||||
var
|
threadvar
|
||||||
_ModuleName: ansistring;
|
_ModuleName: ansistring;
|
||||||
|
|
||||||
function dladdr(Lib: pointer; info: Pdl_info): Longint; cdecl;
|
function dladdr(Lib: pointer; info: Pdl_info): Longint; cdecl;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user