Adding xpcom.currentProcess
git-svn-id: svn://10.0.0.236/trunk@67004 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -429,7 +429,11 @@ nsDirectoryService::GetFile(const char *prop, PRBool *persistant, nsIFile **_ret
|
||||
|
||||
// check to see if it is one of our defaults
|
||||
|
||||
if (strncmp(prop, "xpcom.currentProcess.componentRegistry", 38) == 0)
|
||||
if (strncmp(prop, "xpcom.currentProcess", 38) == 0)
|
||||
{
|
||||
rv = GetCurrentProcessDirectory(getter_AddRefs(localFile));
|
||||
}
|
||||
else if (strncmp(prop, "xpcom.currentProcess.componentRegistry", 38) == 0)
|
||||
{
|
||||
rv = GetCurrentProcessDirectory(getter_AddRefs(localFile));
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
|
||||
Reference in New Issue
Block a user