Bugzilla Bug 303345: just use c2pstrcpy directly. This patch is
contributed by Mark Mentovai <mark@moxienet.com>. r=wtc. git-svn-id: svn://10.0.0.236/trunk@177201 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -50,8 +50,6 @@
|
||||
#include <CFString.h>
|
||||
#include <CFDictionary.h>
|
||||
#include <CFData.h>
|
||||
|
||||
#define PStrFromCStr(src, dst) c2pstrcpy(dst, src)
|
||||
#endif
|
||||
|
||||
#ifdef XP_UNIX
|
||||
@@ -1165,7 +1163,7 @@ pr_FindSymbolInLib(PRLibrary *lm, const char *name)
|
||||
|
||||
PR_LOG(_pr_linker_lm, PR_LOG_MIN, ("Looking up symbol: %s", name + 1));
|
||||
|
||||
PStrFromCStr(name + 1, pName);
|
||||
c2pstrcpy(pName, name + 1);
|
||||
|
||||
f = (FindSymbol(lm->connection, pName, &symAddr, &symClass) == noErr) ? symAddr : NULL;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user