Bugzilla bug 256217: implement PR_GetLibraryFilePathname for FreeBSD, which
can use the same implementation as Solaris and Linux. The patch is contributed by Dale Jordan. r=wtc. Tag: NSPRPUB_PRE_4_2_CLIENT_BRANCH git-svn-id: svn://10.0.0.236/branches/NSPRPUB_PRE_4_2_CLIENT_BRANCH@161667 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1716,7 +1716,7 @@ PR_LoadStaticLibrary(const char *name, const PRStaticLinkTable *slt)
|
||||
PR_IMPLEMENT(char *)
|
||||
PR_GetLibraryFilePathname(const char *name, PRFuncPtr addr)
|
||||
{
|
||||
#if defined(SOLARIS) || defined(LINUX)
|
||||
#if defined(SOLARIS) || defined(LINUX) || defined(FREEBSD)
|
||||
Dl_info dli;
|
||||
char *result;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user