fixing bug #35872. xpinstall engine now correctly creates nested dirs more than 1 level deep. This problem could have been the cause of the brownser not launching from a clean install (which I have experienced) because files were not getting installed into their proper subdirs.
git-svn-id: svn://10.0.0.236/trunk@66895 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
3c5099c351
commit
ca5fa8f4c3
@ -191,13 +191,13 @@ nsInstallFile::nsInstallFile(nsInstall* inInstall,
|
||||
}
|
||||
else if ((location < 0) && (pass > 0) && (offset < inPartialPath.mLength)) //last occurance
|
||||
{
|
||||
nsresult rv = inPartialPath.Mid(subString, offset, inPartialPath.mLength);
|
||||
nsresult rv = inPartialPath.Mid(subString, offset, inPartialPath.mLength-offset);
|
||||
mFinalFile->Append(subString.ToNewCString());
|
||||
finished = PR_TRUE;
|
||||
}
|
||||
else
|
||||
{
|
||||
nsresult rv = inPartialPath.Mid(subString, offset, location);
|
||||
nsresult rv = inPartialPath.Mid(subString, offset, location-offset);
|
||||
mFinalFile->Append(subString.ToNewCString());
|
||||
offset = location + 1;
|
||||
pass++;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user