mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-24 03:19:06 +00:00
For Unix, create component.reg in cwd, not the specified program dir.
[nsbeta3+ b=47721; r=dveditz]
This commit is contained in:
parent
e38da88c9f
commit
e300a01140
@ -132,10 +132,7 @@ PR_PUBLIC_API(nsresult) XPI_Init(
|
||||
|
||||
#elif defined(XP_UNIX)
|
||||
|
||||
nsCOMPtr<nsILocalFile> file;
|
||||
NS_NewLocalFile(aProgramDir, PR_TRUE, getter_AddRefs(file));
|
||||
|
||||
rv = NS_InitXPCOM(&gServiceMgr, file);
|
||||
rv = NS_InitXPCOM(&gServiceMgr, nsnull);
|
||||
|
||||
char cwd[1024];
|
||||
char compDirPath[1024];
|
||||
|
Loading…
x
Reference in New Issue
Block a user