From 68d95d0a0ba8612018c3a436a58b2b09069b3feb Mon Sep 17 00:00:00 2001 From: sam Date: Sat, 4 Oct 2003 22:28:49 +0000 Subject: [PATCH] * Fixed a stupid bug in the HP-UX dynamic code loading. git-svn-id: svn://svn.zoy.org/elk/trunk@224 55e467fa-43c5-0310-a8a2-de718669efc6 --- src/loadlib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/loadlib.c b/src/loadlib.c index 6b958a2..c5ebd45 100644 --- a/src/loadlib.c +++ b/src/loadlib.c @@ -165,7 +165,7 @@ void Dlopen_File (char *obj) { #elif defined (HAVE_DL_SHL_LOAD) void *sym; - shl_findsym (&handle, "share", TYPE_UNDEFINED, &sym); + shl_findsym (&handle, sp->name, TYPE_UNDEFINED, &sym); sp->value = (unsigned long int)(intptr_t)sym; #endif }