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:
wchang0222%aol.com
2004-09-02 18:32:34 +00:00
parent 9b63e4f62a
commit 97014d2855

View File

@@ -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;