Index: mozilla/nsprpub/pr/src/linking/prlink.c =================================================================== RCS file: /cvsroot/mozilla/nsprpub/pr/src/linking/prlink.c,v retrieving revision 3.84 diff -up -r3.84 mozilla/nsprpub/pr/src/linking/prlink.c --- mozilla/nsprpub/pr/src/linking/prlink.c +++ mozilla/nsprpub/pr/src/linking/prlink.c @@ -518,7 +518,7 @@ PR_FreeLibraryName(char *mem) } static PRLibrary* -pr_UnlockedFindLibrary(const char *name) +pr_LockedFindLibrary(const char *name) { PRLibrary* lm = pr_loadmap; const char* np = strrchr(name, PR_DIRECTORY_SEPARATOR); @@ -768,7 +768,7 @@ pr_LoadLibraryByPathname(const char *nam /* See if library is already loaded */ PR_EnterMonitor(pr_linker_lock); - result = pr_UnlockedFindLibrary(name); + result = pr_LockedFindLibrary(name); if (result != NULL) goto unlock; lm = PR_NEWZAP(PRLibrary); @@ -1359,7 +1359,7 @@ PR_LoadStaticLibrary(const char *name, c PR_EnterMonitor(pr_linker_lock); /* If the lbrary is already loaded, then add the static table information... */ - result = pr_UnlockedFindLibrary(name); + result = pr_LockedFindLibrary(name); if (result != NULL) { PR_ASSERT( (result->staticTable == NULL) || (result->staticTable == slt) ); result->staticTable = slt;